Optimistic Web
Optimistic Web
  • 82
  • 205 083
CSS Pie Charts Made Simple - Step-by-Step Guide
Explore the world of data visualization with this comprehensive CSS tutorial on creating stunning pie and donut charts! In this step-by-step guide, we'll learn how to leverage CSS gradients to craft visually appealing charts directly within the HTML and CSS, without needing JavaScript or external libraries. Starting from the basics, we'll set up our HTML structure using semantic elements like `figure` and `figcaption`, ensuring accessibility with ARIA attributes where necessary.
Dive into the magic of conic gradients to effortlessly define color transitions that simulate pie chart segments. Learn essential techniques such as adjusting starting positions for custom color distributions and utilizing CSS variables for maintainable code. We'll also explore creating donut charts by layering conic and radial gradients, easily achieving professional-grade data visualizations.
Join us on this journey to mastering CSS pie and donut charts and start visualizing your data like never before! Don't forget to like, share, and subscribe for more web design tutorials and CSS tricks. Enhance your skills and transform your websites with our easy-to-follow guides!
Live Demo: codepen.io/optimisticweb/pen/rNELoRR
Related Topics
-----------------------------------------------------
- How To Create A Pie Chart Using CSS Only
- Create Pie Chart Using Only CSS
- CSS pie chart: a quick and easy guide
- Learn how to create a responsive pie chart with CSS
- How to create a pie chart with CSS
Chapters
-----------------------------------------------------
00:00 Intro
00:43 Using semantic HTML for pie charts
01:41 CSS setup for creating CSS pie charts
02:08 Create a pie chart using CSS conic-gradient
04:23 How to make a donut chart using only CSS
05:33 Adding captions to the chart
Subscribe and never miss a beat
-----------------------------------------------------
🔔 Subscribe for more videos like this: www.youtube.com/@OptimisticWeb?sub_confirmation=1
Learn at your own pace
-----------------------------------------------------
- Learn HTML - th-cam.com/play/PLehZRc1z6b6Gjiz-At0zmnpUMm5g25CQg.html
- Learn CSS - th-cam.com/play/PLehZRc1z6b6Fu0H0iwtfiJyQBpB9S8Nfm.html
- Learn JavaScript - th-cam.com/play/PLehZRc1z6b6G0GS6HMDgAODX-jt2CvLR6.html
Connect, share, and grow
-----------------------------------------------------
- TH-cam: www.youtube.com/@OptimisticWeb
- X (Twitter): optimisticweb
- Instagram: optimisticweb
- Facebook: optimisticweb
- CodePen: codepen.io/optimisticweb
#css #piechart #csschart #csspiechart #csstips #frontenddevelopment #frontend #webdevtutorial #csstutorialforbeginners #webdesign #cssmagic #csstutorial #html #cssforbeginners #learncss #learnhtml #optimisticweb
มุมมอง: 822

วีดีโอ

Creating unique shapes & animations using CSS clip-path
มุมมอง 1.6Kวันที่ผ่านมา
Discover the power of CSS clip-path in this comprehensive clip-path tutorial where we delve into creating captivating CSS shapes and animations. From basic rectangles to intricate polygons and dynamic animations, learn how to wield CSS clip-path effectively to enhance a website's visual appeal and user engagement. Starting with foundational concepts, we explore how the inset() function defines ...
Full-Width Section Inside a Fixed-Width Container | CSS Tips
มุมมอง 2.2K14 วันที่ผ่านมา
Discover the art of creating stunning full-bleed layouts with this comprehensive CSS tutorial. Explore various techniques to seamlessly integrate edge-to-edge elements within a fixed-width parent, enhancing user interface and readability. From leveraging relative positioning and `calc()` functions to harnessing the power of CSS grid layouts, this video covers everything you need to know to exte...
How To Create An Expandable Sidebar | Step-By-Step Tutorial
มุมมอง 7K21 วันที่ผ่านมา
In this front-end development tutorial, we'll create an expandable/collapsible sidebar menu using HTML, CSS, and JavaScript. A sidebar menu is a crucial element for many websites, helping users navigate through different sections effortlessly. This video will guide you step-by-step to build responsive, user-friendly expandable sidebar navigation that enhances your website's usability and design...
CSS Scroll-Padding | An Easy Fix for Fixed Header Overlap
มุมมอง 6Kหลายเดือนก่อน
Unlock the key to resolving the persistent issue of fixed header overlap in HTML/CSS with this insightful CSS tutorial. Delve into the intricacies of CSS scroll-padding-a powerful tool designed to combat content obscuration behind fixed headers, ensuring an uninterrupted browsing journey for your site visitors. In this short CSS tutorial, we'll walk through practical techniques and step-by-step...
Perfecting Nested Rounded Corners in CSS | Tips and Tricks
มุมมอง 2.7Kหลายเดือนก่อน
This CSS tutorial delves into the intricacies of nested rounded corners in CSS, exploring how to achieve seamless and aesthetically pleasing designs. From understanding the challenges of nested elements to implementing practical solutions, let's walk through the process step by step. Starting with a simple demo, we demonstrate how to identify and address issues with nested rounded corners, ensu...
Everything you need to know about the currentColor keyword in CSS
มุมมอง 1.4Kหลายเดือนก่อน
This comprehensive CSS tutorial dives deep into the world of CSS colors and discovers the hidden gem - the currentColor keyword! Managing colors across various elements while ensuring consistency can be daunting in our web development journey. Join us as we unravel the mysteries of currentColor in CSS. This video will walk you through: - Understanding the currentColor keyword and its significan...
Creating Sticky Sidebars in CSS | Tips and Troubleshooting
มุมมอง 1.9Kหลายเดือนก่อน
Discover the power of sticky sidebars with this comprehensive CSS tutorial! In this video, we'll walk you through the process of using CSS position sticky for creating dynamic and user-friendly sticky sidebars for your website. Unlike traditional fixed elements, sticky sidebars elegantly adhere to the viewport, ensuring important content remains accessible as users scroll. From setting up the H...
Smooth scrolling with one line of CSS | CSS Tips
มุมมอง 1.5K2 หลายเดือนก่อน
Unlock the secrets of smooth scrolling in web design with this latest CSS tutorial! Join us as we delve into the 'scroll-behavior' CSS property, a powerful tool that transforms navigation into a seamless and delightful experience for users. Whether you're a seasoned developer or just starting out, this video will guide you through the process of implementing smooth scrolling on your website, en...
Mastering Knockout Text Effects in CSS | Step-by-Step Tutorial
มุมมอง 1.3K2 หลายเดือนก่อน
In this CSS tutorial, we'll walk through the steps to creating stunning knockout text effects that will elevate your web design game. Knockout text, also known as cutout text, seamlessly blends typography with background elements, allowing underlying content to shine through. This tutorial delves into the art of achieving these captivating effects using CSS. Learn to transform simple HTML struc...
CSS Animations for Profile Cards - Social Links Reveal Effect
มุมมอง 1.1K2 หลายเดือนก่อน
CSS Animations for Profile Cards - Social Links Reveal Effect
Supercharge Your Styling with CSS Custom Properties
มุมมอง 1.7K2 หลายเดือนก่อน
Supercharge Your Styling with CSS Custom Properties
Creative Content Box Layout with CSS Hover Effect
มุมมอง 2.5K2 หลายเดือนก่อน
Creative Content Box Layout with CSS Hover Effect
Take Your CSS to the Next Level with :has() Pseudo-Class Selector
มุมมอง 1.3K3 หลายเดือนก่อน
Take Your CSS to the Next Level with :has() Pseudo-Class Selector
Create an Audio Wave CSS Loader with Keyframe Animations
มุมมอง 1.1K3 หลายเดือนก่อน
Create an Audio Wave CSS Loader with Keyframe Animations
Create Sleek Image Gallery with Captivating Hover Effect
มุมมอง 4.8K3 หลายเดือนก่อน
Create Sleek Image Gallery with Captivating Hover Effect
Elevate User Experience with CSS Focus Pseudo-Classes
มุมมอง 1.3K3 หลายเดือนก่อน
Elevate User Experience with CSS Focus Pseudo-Classes
Responsive Mosaic Layouts Made Easy with CSS Grid
มุมมอง 2.7K4 หลายเดือนก่อน
Responsive Mosaic Layouts Made Easy with CSS Grid
Build an Infinite Scroll Animation Effect Using Only CSS
มุมมอง 16K4 หลายเดือนก่อน
Build an Infinite Scroll Animation Effect Using Only CSS
Create Adaptable Web Layouts Using CSS Logical Properties
มุมมอง 3.8K4 หลายเดือนก่อน
Create Adaptable Web Layouts Using CSS Logical Properties
Enhance Your Website with CSS Only Expandable Search Bar
มุมมอง 1.8K4 หลายเดือนก่อน
Enhance Your Website with CSS Only Expandable Search Bar
Create Responsive Profile Cards with CSS Card Hover Effect
มุมมอง 4K5 หลายเดือนก่อน
Create Responsive Profile Cards with CSS Card Hover Effect
Simplify Your CSS using :is() and :where() Pseudo-Selectors
มุมมอง 6K5 หลายเดือนก่อน
Simplify Your CSS using :is() and :where() Pseudo-Selectors
Create Amazing Background Patterns using CSS Gradients ✨
มุมมอง 7K5 หลายเดือนก่อน
Create Amazing Background Patterns using CSS Gradients ✨
Build A Responsive Team Page with Card Flip Effect | CSS Tutorial
มุมมอง 1.8K5 หลายเดือนก่อน
Build A Responsive Team Page with Card Flip Effect | CSS Tutorial
Create an Awesome Full Screen Navigation with Pure HTML & CSS
มุมมอง 3.3K6 หลายเดือนก่อน
Create an Awesome Full Screen Navigation with Pure HTML & CSS
CSS Only Christmas Lights Animation | WebDev Holiday Magic
มุมมอง 4117 หลายเดือนก่อน
CSS Only Christmas Lights Animation | WebDev Holiday Magic
Create an Animated Hamburger Menu Icon using only HTML and CSS
มุมมอง 3.1K7 หลายเดือนก่อน
Create an Animated Hamburger Menu Icon using only HTML and CSS
Styling Siblings on Hover | Create Responsive Squares in CSS
มุมมอง 2K7 หลายเดือนก่อน
Styling Siblings on Hover | Create Responsive Squares in CSS

ความคิดเห็น

  • @anfytrion
    @anfytrion 2 วันที่ผ่านมา

    Another great video 👌👌

    • @OptimisticWeb
      @OptimisticWeb 2 วันที่ผ่านมา

      Thanks for the visit!

  • @StixxLetsPlay
    @StixxLetsPlay 2 วันที่ผ่านมา

    Nice! instantly saved for future works! thank ya ;)

    • @OptimisticWeb
      @OptimisticWeb 2 วันที่ผ่านมา

      Great to hear! 👍

  • @michaelxaviercanonizado7931
    @michaelxaviercanonizado7931 4 วันที่ผ่านมา

    Solution #2 somehow doesn't work for me. When either margin left or right is applied, it works. But when combined, it doesn't stretch

    • @OptimisticWeb
      @OptimisticWeb 4 วันที่ผ่านมา

      You can either compare your code with the demo link in the description or share your version with me. I may be able to debug and help.

  • @biggand8520
    @biggand8520 6 วันที่ผ่านมา

    Hey, that “donut” trick is awesome)) Cool approach. I do work with charts a lot, my approach is to create column charts. First step is to calculate maximum value from the data given, say monthly sales. Then each column “style: -value” should be assigned with its value divided on maximum and mult on 100% inside the html, then you can set the height of the column inside the css due to -value. This can be even animated, which is cool. However, frankly speaking, I don’t know how to connect the columns tops with the simple line graph, without using canvas element. I don’t like canvas because of its improper resizing. Sorry for the mind mess, I think you got the point))

    • @OptimisticWeb
      @OptimisticWeb 6 วันที่ผ่านมา

      Thank you! You might be using separate HTML elements for each column and adjusting their heights with CSS. That's a nice solution, although it requires a new element for each column. Honestly, I've never seen a CSS-only solution for creating a line graph. Most of them use either JS or SVG in some way.

  • @ManvendraSK
    @ManvendraSK 6 วันที่ผ่านมา

    Nice trick.

  • @geomarysherman
    @geomarysherman 6 วันที่ผ่านมา

    thank you for opening my eyes to concepts that were beyond my imagination!

    • @OptimisticWeb
      @OptimisticWeb 6 วันที่ผ่านมา

      Thank you! I'm glad the content helped you discover new concepts.

  • @HuynhLuong227
    @HuynhLuong227 6 วันที่ผ่านมา

    great skill, thanks for sharing

    • @OptimisticWeb
      @OptimisticWeb 6 วันที่ผ่านมา

      Thanks for watching!

  • @ocquintus6751
    @ocquintus6751 6 วันที่ผ่านมา

    Great stuff. Thanks for creating this. Looking forward to more content

    • @OptimisticWeb
      @OptimisticWeb 6 วันที่ผ่านมา

      Thank you! I'm glad you enjoyed it.

  • @ManvendraSK
    @ManvendraSK 6 วันที่ผ่านมา

    I always look for your videos 😊

    • @OptimisticWeb
      @OptimisticWeb 6 วันที่ผ่านมา

      Thank you! Your support means a lot.

  • @anfytrion
    @anfytrion 7 วันที่ผ่านมา

    I learn something today, great video, great explanations.

    • @OptimisticWeb
      @OptimisticWeb 7 วันที่ผ่านมา

      Awesome, thank you!

  • @patriotir
    @patriotir 8 วันที่ผ่านมา

    So much unnecessary info. Go straight to the point which is infinite scroll animation

    • @OptimisticWeb
      @OptimisticWeb 8 วันที่ผ่านมา

      Thank you for your feedback! I appreciate your input and always strive to improve. These videos aim to include information that benefits developers of all levels, including beginners, so sometimes we need to set the foundation. Please let me know which parts you found unnecessary and where I could be more concise.

  • @AMDesignAndDev
    @AMDesignAndDev 9 วันที่ผ่านมา

    AI vocals getting pretty good! Is this whole video dome by AI?

  • @helenamignogna2499
    @helenamignogna2499 11 วันที่ผ่านมา

    Awesome!!!

  • @optimalArousal
    @optimalArousal 13 วันที่ผ่านมา

    Very good explanations, I didn't really understand this property too much before, but this clarified plenty. I will definitely refer to this video next time I need some unique shapes for my layouts. Great work, hope your channel keeps growing!

    • @OptimisticWeb
      @OptimisticWeb 12 วันที่ผ่านมา

      Thank you so much for your kind words! I'm glad to hear that the explanations helped clarify things for you. Appreciate your support!

  • @biggand8520
    @biggand8520 13 วันที่ผ่านมา

    Hey, cool stuff here) Thanks for sharing As for me, I like to do my menu appearance with clip-path animation. Say, there is a closed menu, and by clicking on it user not see the regular modal appearance (with opacity drop of a main page, etc), but sees its "growing" or "shifting" from the outside of the screen with increasing opacity, etc. However, this approach can cause performance glitching, I don't know why. Is it a "heavy" and resources consuming approach?

    • @OptimisticWeb
      @OptimisticWeb 13 วันที่ผ่านมา

      Thanks! Using clip-path for menu animations can indeed create some cool effects. I have seen some off-the-viewport menus animating on hover etc. Performance issues may occur if the animation is complex and involves several points morphing between shapes. You might try optimizing animation by reducing the number of points or by using the transition property instead of keyframes. Keep in mind that any type of animation can be resource-intensive, not just those using clip-path.

  • @ezequiel-arevaloo
    @ezequiel-arevaloo 13 วันที่ผ่านมา

    I didn't know about this property, I will start using it from now on, very good video and content 💖🤞

    • @OptimisticWeb
      @OptimisticWeb 13 วันที่ผ่านมา

      Thank you! I'm glad you found the video helpful and discovered something new.🤞

  • @tmmrtn
    @tmmrtn 14 วันที่ผ่านมา

    Some characters are clipped in the animation, as I'm sure you saw. 21 is the length + 1 for empty state, and using monospaced font, so it's curious you're getting fractional increments. Maybe better results with 0ch to 21ch? Is content-box on, so that the cursor doesn't add width? Nice CSS-only solution, but it does require a coupling to string length.

    • @OptimisticWeb
      @OptimisticWeb 14 วันที่ผ่านมา

      Thanks for the feedback! Yes, using ch units could be an option to fine-tune the overall effect.

  • @loganwarren4834
    @loganwarren4834 15 วันที่ผ่านมา

    Cooked

  • @biggand8520
    @biggand8520 20 วันที่ผ่านมา

    Hey, grid solution is cool and light enough. I think everyone faced with the issue like this, so your content is relevant. If you need just a background to be spread across the entire screen, then you can do also box-shadow(0 0 0 100vmax your_color) and clip-path(0 -100vmax) to prevent horizonal scroll. But this works only for background, its useless for the content, thus your solution rules.

    • @OptimisticWeb
      @OptimisticWeb 20 วันที่ผ่านมา

      Thanks for sharing another trick! It's always great to discover new approaches.

  • @anfytrion
    @anfytrion 20 วันที่ผ่านมา

    I wish you made videos when I was learning. Great content.

    • @OptimisticWeb
      @OptimisticWeb 20 วันที่ผ่านมา

      Thank you! I wish I had a time machine to go back and help out-I could have been learning along with you! 😊 But seriously, I'm glad you're here now and enjoying the content.

    • @niazhimselfangels
      @niazhimselfangels 17 วันที่ผ่านมา

      Aren't you still? :)

    • @OptimisticWeb
      @OptimisticWeb 17 วันที่ผ่านมา

      yeah, I'm still learning. It never ends...

  • @hansdampf10
    @hansdampf10 20 วันที่ผ่านมา

    Great content, you should make a course.

    • @OptimisticWeb
      @OptimisticWeb 20 วันที่ผ่านมา

      Thanks so much! I appreciate the suggestion. Making a course does require a lot of time and resources, but it's definitely something to consider for the future. Glad you're enjoying the content!

  • @viveknayak
    @viveknayak 20 วันที่ผ่านมา

    Nice video. Would it be possible for you to do a 2 column layout (Image left and text on the right) with the image on the left bleeding outside the container?

    • @OptimisticWeb
      @OptimisticWeb 20 วันที่ผ่านมา

      Thank you! Using a CSS grid would make that easier. You could set up two columns in the middle, like "1fr 40% 40% 1fr". The image could then span lines 1 to 3, with the text from lines 3 to 5. The remaining content would start at line 2 and end at line 4.

    • @viveknayak
      @viveknayak 19 วันที่ผ่านมา

      @@OptimisticWeb Thanks.

  • @ctrlaltdelicious_2
    @ctrlaltdelicious_2 21 วันที่ผ่านมา

    goat content, you'll learn a lot in 6 minutes unlike other tutorials which take about 20 minutes or so

  • @Chill31_
    @Chill31_ 25 วันที่ผ่านมา

    Hey, can u create this animation but there are two starting points, one on left and one right, the left point transition to right from the top, while right point transitions to left from bottom

    • @OptimisticWeb
      @OptimisticWeb 25 วันที่ผ่านมา

      Yes, that can be done. One of the possible solutions will be to have two pseudo-elements with different colors, then apply rotate(0deg) and scaleX(-1) on one of them to switch its direction.

    • @Chill31_
      @Chill31_ 25 วันที่ผ่านมา

      @@OptimisticWeb i will try it myself, but can you create a video on it? Thanks

  • @gilsonconceicao5201
    @gilsonconceicao5201 25 วันที่ผ่านมา

    Thanks. Very nice tutorial

    • @OptimisticWeb
      @OptimisticWeb 25 วันที่ผ่านมา

      Glad you liked it!

  • @philipbailey8479
    @philipbailey8479 26 วันที่ผ่านมา

    Thank you, this is an amazing tutorial. I'm trying to use this for my website menu and I would like alternating rows to be moving in reverse. How can I achieve that? Currently I've got rows 2 and 4 scrolling the opposite way but they're leaving a big gap behind them and then it just resets.

    • @OptimisticWeb
      @OptimisticWeb 26 วันที่ผ่านมา

      Thank you! I'm glad you found the tutorial helpful. If you can share your CodePen, I can take a look and help debug the issue. Just a heads-up, adding multiple animations like this on a page can negatively affect performance and user experience, so it's worth considering the overall impact.

  • @CanaldeAitor
    @CanaldeAitor 26 วันที่ผ่านมา

    Wow, never knew about that, i always go for showing and hidding and input tag. Dunno about sanitizing the data, anyways looks great!

    • @OptimisticWeb
      @OptimisticWeb 26 วันที่ผ่านมา

      Thank you! Glad you found the video helpful.

  • @historyepicvids
    @historyepicvids 26 วันที่ผ่านมา

    I thought this could only be done with a javascript event. Great video !

    • @OptimisticWeb
      @OptimisticWeb 26 วันที่ผ่านมา

      We used to rely on JavaScript for such tasks, but CSS has become quite advanced. Thanks for watching!

  • @himanshuparashar393
    @himanshuparashar393 26 วันที่ผ่านมา

    Amazing brother ❤

  • @geomarysherman
    @geomarysherman 27 วันที่ผ่านมา

    Thank you so much! I learned several things today that I can use. You have an amazing ability to articulate these concepts!

    • @OptimisticWeb
      @OptimisticWeb 26 วันที่ผ่านมา

      Thank you for your kind words! I'm glad to hear that you found the content useful and learned new things. Your feedback means a lot.

  • @gilsonconceicao5201
    @gilsonconceicao5201 27 วันที่ผ่านมา

    Nice, Thanks

    • @OptimisticWeb
      @OptimisticWeb 26 วันที่ผ่านมา

      You're welcome!

  • @anfytrion
    @anfytrion 27 วันที่ผ่านมา

    You share great videos

    • @OptimisticWeb
      @OptimisticWeb 27 วันที่ผ่านมา

      Thank you! Glad you like them.

  • @FunkyToe369
    @FunkyToe369 27 วันที่ผ่านมา

    The collapse/expand element shouldn't be an anchor tag, should be a button. Otherwise it will mess with screenreaders

    • @OptimisticWeb
      @OptimisticWeb 27 วันที่ผ่านมา

      Thanks for the feedback! Yes, it can be converted to a button, or we could use aria attributes to enhance the experience for assistive technology. To keep the video focused on the main topic, I opted for a simpler approach.

    • @kYt0-cz3hk
      @kYt0-cz3hk 22 วันที่ผ่านมา

      could u explain in layman's language wdym

    • @robinheyer708
      @robinheyer708 21 วันที่ผ่านมา

      @@kYt0-cz3hk Some people use screen readers that read websites for them. Usually people with a visual impairment. In order to make it possible for the screen reader to understand the website we need to make it as straightforward as possible. The tags should make it clear what the role of the element is as much as possible so your navigation should be between <nav> tags otherwise it just looks like another list. Ideally there would be only one <nav> tag so the screen reader can go there instantly when needed. A button should be for submitting or any clickable option. An anchor tag <a> should be a link to another page. If you do end up using a tag differently you can give it an aria-attribute to say what its new role is (menu, input, etc.) so screen readers can still understand. In this specific case I don't think it's a big deal since the screen reader doesn't need to expand the side bar to be able to see the names of the buttons, it's only a visual effect, and I doubt anyone would choose the collapse option when they hear it because it's simply not relevant to them and it's also unlikely that they would think it's going to navigate them somewhere else. But it's good practice to avoid any ambiguity. There used to be a lot of attention for 'skip-to-main' links a couple of years ago to save impaired people from dying of boredom trying to get through all the navigation links and other stuff at the top of the page that they won't need the first time they visit a site but that seems completely gone these days.

    • @OptimisticWeb
      @OptimisticWeb 21 วันที่ผ่านมา

      @@robinheyer708 Thanks for your detailed response and contribution!

    • @OptimisticWeb
      @OptimisticWeb 20 วันที่ผ่านมา

      ​@@kYt0-cz3hk I just noticed that robinheyer708 's reply isn't showing up on TH-cam. Seems the use of HTML tags in their reply has messed things up, so I am adding the same here. Some people use screen readers that read websites for them. Usually people with a visual impairment. In order to make it possible for the screen reader to understand the website we need to make it as straightforward as possible. The tags should make it clear what the role of the element is as much as possible so your navigation should be between nav tags otherwise it just looks like another list. Ideally there would be only one nav tag so the screen reader can go there instantly when needed. A button should be for submitting or any clickable option. An anchor tag should be a link to another page. If you do end up using a tag differently you can give it an aria-attribute to say what its new role is (menu, input, etc.) so screen readers can still understand. In this specific case I don't think it's a big deal since the screen reader doesn't need to expand the side bar to be able to see the names of the buttons, it's only a visual effect, and I doubt anyone would choose the collapse option when they hear it because it's simply not relevant to them and it's also unlikely that they would think it's going to navigate them somewhere else. But it's good practice to avoid any ambiguity. There used to be a lot of attention for 'skip-to-main' links a couple of years ago to save impaired people from dying of boredom trying to get through all the navigation links and other stuff at the top of the page that they won't need the first time they visit a site but that seems completely gone these days.

  • @hariprasatht9082
    @hariprasatht9082 27 วันที่ผ่านมา

    great presentation and clear explanation

    • @OptimisticWeb
      @OptimisticWeb 27 วันที่ผ่านมา

      Glad you liked it!

  • @hariprasatht9082
    @hariprasatht9082 27 วันที่ผ่านมา

    awesome content

  • @srinathsagar4736
    @srinathsagar4736 27 วันที่ผ่านมา

    u r videos are helpful bro nd make full videos on flexbox and grid ❤❤

    • @OptimisticWeb
      @OptimisticWeb 27 วันที่ผ่านมา

      Thank you! By the way, did you check out the mosaic layout video? It covers how to set up a gallery layout using CSS Grid.

  • @AmitErandole
    @AmitErandole 27 วันที่ผ่านมา

    Could you please share your codepen?

    • @OptimisticWeb
      @OptimisticWeb 27 วันที่ผ่านมา

      Sure, the demo link is ready in the description.

  • @thenightwolf224
    @thenightwolf224 27 วันที่ผ่านมา

    YOOO That's amazing

  • @AHMEDX8731
    @AHMEDX8731 27 วันที่ผ่านมา

    Ty for this great tip ❤

    • @OptimisticWeb
      @OptimisticWeb 27 วันที่ผ่านมา

      You're welcome!

  • @Div_fusion
    @Div_fusion 29 วันที่ผ่านมา

    Awesome 👍

  • @Div_fusion
    @Div_fusion 29 วันที่ผ่านมา

    Nice content 👍❤

  • @dheenus
    @dheenus 29 วันที่ผ่านมา

    🔥No words...

  • @saladexe5398
    @saladexe5398 หลายเดือนก่อน

    Nice

  • @saladexe5398
    @saladexe5398 หลายเดือนก่อน

    I have to learn @ property and come back to this video

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      Sounds good! You can start with this th-cam.com/video/XGKj4HtIcGo/w-d-xo.html

    • @saladexe5398
      @saladexe5398 หลายเดือนก่อน

      @@OptimisticWeb I will check it out

  • @binramli
    @binramli หลายเดือนก่อน

    hey sir, i would like to suggest to make a html css playlist, so that we can have a road map for learning them.

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      Thank you for the suggestion! We actually have 3-4 playlists already available on our channel. If you have any specific ideas for a playlist you'd like to see, please let me know.

  • @senseicodes
    @senseicodes หลายเดือนก่อน

    I did not know this, thanks man

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      You're welcome!

  • @tegathemenace
    @tegathemenace หลายเดือนก่อน

    Thanks!! Please is it the same for fixed sidebar😔

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      It depends on the layout and what you are trying to achieve. However, you can use sticky sidebars as shown in this video th-cam.com/video/znmdx4UZTAg/w-d-xo.html

  • @fatihece3359
    @fatihece3359 หลายเดือนก่อน

    Great video and tip as always. Many thanks

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      Thanks for the feedback.

  • @AlThePal78
    @AlThePal78 หลายเดือนก่อน

    if i did something similar to this but with less code, in sass, do I have to do the something to the first section, even when I click on it, it brings it all the way up to the top under the header?

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      You might be missing the top padding on the main element.

    • @AlThePal78
      @AlThePal78 หลายเดือนก่อน

      Never mind I saw what I did wrong I never gave padding to the main section thank you : )

  • @knowledgeshop9892
    @knowledgeshop9892 หลายเดือนก่อน

    Loved ur content ❤

    • @OptimisticWeb
      @OptimisticWeb หลายเดือนก่อน

      Thank you! Glad you liked it.