Learn 5 CSS PROPERTIES to level up your web dev skills

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 20

  • @PicSta
    @PicSta Месяц назад +4

    Thanks for summarizing these useful CSS commands 😄

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад +1

      Thanks for watching! These are some of my most used CSS properties, so I tried to share them with everyone.

  • @MrCloudTel
    @MrCloudTel Месяц назад +2

    I love this channel, no magic here, every little thing is explained fully. anyway thanks

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      Thanks for the feedback, just trying to keep things simple and practical.

  • @tienvohoang5359
    @tienvohoang5359 Месяц назад +5

    Banger after banger❤

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      Thank you, glad you are finding the content useful!

  • @geokongr
    @geokongr Месяц назад +1

    aspect-ratio and object-fit: cover are suitable to keep column layouts tidy across different resolutions, e.g. when you have an image (not a background) on left column and a map, , content with subtle background etc. on right column. As always, thank you for sharing such useful knowledge!

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      Totally agree, these two properties save us from so many old-school hacks. Thanks for watching!

  • @starlord7526
    @starlord7526 Месяц назад +3

    next video on stacking context and isolation isolate property please

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      You can watch this short video on isolation - ruclips.net/user/shortshW2VsumVJls

  • @ngomafortuna2667
    @ngomafortuna2667 Месяц назад +1

    Very goog! Thanks by this good video.

  • @HewlettPacket
    @HewlettPacket Месяц назад +1

    How do you put those grid lines in background ? In css or it's a picture ??? I usually see this in web desing figma or something like it and it looks so cool and make the website pro

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      Thanks for watching! Grid lines are in the CSS, you can check this video to learn how - ruclips.net/video/QMoKpkE3c6s/видео.html

  • @tienvohoang5359
    @tienvohoang5359 Месяц назад +3

    Frameworks like Next.js often require us to explicitly declare in advance, this often invalidates the effect of aspect-ratio.

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      Frameworks usually add their own defaults. and sometimes, it becomes difficult to manage things.

  • @mikeeomega
    @mikeeomega 17 дней назад +1

    5 very important and convenient CSS properties.

    • @OptimisticWeb
      @OptimisticWeb  17 дней назад

      Exactly, these properties really simplify things and make CSS much more efficient. Thanks for watching!

  • @franktielemans6624
    @franktielemans6624 Месяц назад +2

    I really don't see the advantage of these logical properties, just more words to type.

    • @OptimisticWeb
      @OptimisticWeb  Месяц назад

      Logical properties can feel like extra typing at first, but they really come in handy when working with layouts that need to adapt to different writing modes, like right-to-left - top-to-bottom languages. Plus, the new shorthand properties offer flexibility that wasn’t possible before - like setting different values for left/right or top/bottom margins and paddings in a single go. They might save you some headaches down the line!