5 Modern CSS Features You Should Know In 2024

:has() Selector, Container Queries, CSS Nesting, text-wrap:balance And :focus-visible - Quick & Easy Examples.
🗞️ Blog Post
academind.com/tutorials/5-mod...
🖥️ Official Website & Courses
academind.com/courses/
💬 Academind Community
academind.com/community
👋 Social Media
/ maxedapps
/ academind_real
/ academind_real
/ academindchannel
/ maximilian-schwarzmueller
/ manuel-lorenz-808b5185
/ academind-gmbh
/ academind-pro
/ academind_real
📝 Further Resources
Description: LINK

Пікірлер: 65

  • @nickyn1083
    @nickyn10834 ай бұрын

    0:01 Psuedo-selector :has() 1:24 Container Queries 3:30 CSS Nesting 4:15 Text-wrap balance 4:51 :focus-visible

  • @nitram_nosnibor
    @nitram_nosnibor2 ай бұрын

    Superb short and sweet, I'll be using most of these now - thanks!!

  • @Alcaatraz01
    @Alcaatraz014 ай бұрын

    Great video. Thanks!

  • @marcosgonzales2007
    @marcosgonzales200716 күн бұрын

    Thanks for the tips!

  • @Razax7
    @Razax72 ай бұрын

    Thank you! These CSS features are amazing and you explained them extremely well.

  • @oyeibrahim
    @oyeibrahim4 ай бұрын

    This is dope!

  • @js3671
    @js36712 ай бұрын

    The first tip helped me fix a bug on my page thank you!

  • @r31vlogs
    @r31vlogs4 ай бұрын

    Sir please make a series of MERN Stack web development from beginner to advance.....Where you teach everything as full stack and make some responsive projects.

  • @farruhzoirov871
    @farruhzoirov8714 ай бұрын

    Great!

  • @prajwalkasar1309
    @prajwalkasar13094 ай бұрын

    Great 👍

  • @ekchills6948
    @ekchills69484 ай бұрын

    Tysm

  • @lasindunuwanga5292
    @lasindunuwanga52924 ай бұрын

    thanks

  • @hcx1853
    @hcx18534 ай бұрын

    1. :has pseudo-selector 2. Container queries 3. CSS nesting 4. text-wrap: balance 5. :focus-visible

  • @kristopherlawson3893

    @kristopherlawson3893

    4 ай бұрын

    Doing the lords work

  • @deatho0ne587
    @deatho0ne5874 ай бұрын

    Best part about text-wrap balance it is just a progressive enhancement. Meaning if it does not work your site will not 100% look different. Unlike some of the other stuff you meantioned.

  • @troyharris279
    @troyharris2794 ай бұрын

    Not bad at all! I'll give these a try for my next upcoming project!

  • @SuyashKrishnaDas108
    @SuyashKrishnaDas1084 ай бұрын

    CSS Nesting! Finally!

  • @NoName-1337

    @NoName-1337

    4 ай бұрын

    The syntax is a little bit odd. In my opinion they should implement a scss/sass/less style of nesting. The current one is very odd.

  • @dev_Ahmed_Samy

    @dev_Ahmed_Samy

    4 ай бұрын

    Finally 🥳

  • @krunalpatel2228

    @krunalpatel2228

    3 ай бұрын

    @@NoName-1337 not sure what you mean. As per the video, nesting is the same as in less/scss. I am missing something here?

  • @OCEMTechZone
    @OCEMTechZone4 ай бұрын

    Great

  • @Htbaa
    @Htbaa3 ай бұрын

    CSS nesting requires the &-nesting selector when using elements e.g. `.something { & input {} }` but not for class selectors e.g. `.something { .else {} }`

  • @ratneshchandna

    @ratneshchandna

    3 ай бұрын

    Thank you! This should be top comment.

  • @mooo2146
    @mooo21464 ай бұрын

    Hi max

  • @anujababy1651
    @anujababy16514 ай бұрын

    👍

  • @user-zu2tc6tw6b
    @user-zu2tc6tw6b4 ай бұрын

    1. Focus-within

  • @simpingsyndrome
    @simpingsyndrome4 ай бұрын

    it's been a years i've never slicing UI using vanilla CSS since Tailwind came out.

  • @user-ef1di8yl8c

    @user-ef1di8yl8c

    3 ай бұрын

    time to ditch that terrible framework :)

  • @oaooaoipip2238
    @oaooaoipip22384 ай бұрын

    So whats the difference between the selector "ul li input {mycode}" and "ul li:has(input){mycode}". Isn't it the same thing?

  • @mostafaalayesh2803

    @mostafaalayesh2803

    4 ай бұрын

    Not the same, the first one will apply the style on the input, while the other one will apply the style on the 'li' block

  • @oaooaoipip2238

    @oaooaoipip2238

    4 ай бұрын

    @@mostafaalayesh2803 you are right 👍🙂

  • @aamirshekh934
    @aamirshekh9344 ай бұрын

    in css udemy course, it would be great if you add tailwind css section.

  • @simonswiss
    @simonswiss4 ай бұрын

    Is that audio generated with AI or something like Descript? I have watched your videos for years and this one sounds very very weird 😅

  • @sujanbasnet7868
    @sujanbasnet78684 ай бұрын

    focus-visible has been well supported for a while.

  • @oldegreg6274
    @oldegreg62744 ай бұрын

    Thank you for a well structured informative video

  • @sipocharles9180
    @sipocharles91804 ай бұрын

    First 😎

  • @quangpn
    @quangpn4 ай бұрын

    `has()` is supported in Firefox since last December (2023). I'm wondering how we can do it for older version.

  • @acubley

    @acubley

    4 ай бұрын

    Is it out from behind a flag now?

  • @acubley

    @acubley

    4 ай бұрын

    Never mind, CanIUse says 121 and newer.

  • @quangpn

    @quangpn

    4 ай бұрын

    @@acubley Yeah that's where I got that information

  • @ridl27
    @ridl274 ай бұрын

    bruh, browser support for the text-wrap: balance is 66%.

  • @user-ef1di8yl8c

    @user-ef1di8yl8c

    3 ай бұрын

    doesn't matter since it won't break anything. If it's not supported it just looks like there is no property set at all.

  • @rafalka7084
    @rafalka70844 ай бұрын

    third

  • @MeatCatCheesyBlaster
    @MeatCatCheesyBlaster4 ай бұрын

    Are you using AI to do your voice now?

  • @bigitel
    @bigitel4 ай бұрын

    His Voice is with AI?

  • @FunkyToe369

    @FunkyToe369

    4 ай бұрын

    Yeah it sounds weird to me, idk

  • @menelikwilliams7504

    @menelikwilliams7504

    4 ай бұрын

    No he's real... check out his videos. Maybe it's his German accent??

  • @StephenRayner

    @StephenRayner

    4 ай бұрын

    Impossible to tell now (by ear)

  • @menelikwilliams7504

    @menelikwilliams7504

    4 ай бұрын

    ​@StephenRayner, what a time to be alive, loooool

  • @andrewbrower4158

    @andrewbrower4158

    4 ай бұрын

    I was just watching some older Max earlier today and I agree, this is not his regular voice

  • @sivaprasad905
    @sivaprasad9054 ай бұрын

    No end to frontend crap lol😂

  • @nested9301
    @nested93014 ай бұрын

    web dev is dead get a life

  • @willberg8599
    @willberg85994 ай бұрын

    Ew. This is why we use frameworks 😂

  • @saifurrahman6972

    @saifurrahman6972

    4 ай бұрын

    Stills it's good to know some fundamental

  • @selectorsaurus

    @selectorsaurus

    4 ай бұрын

    No, this is why we don't need to use frameworks.

  • @quangpn

    @quangpn

    4 ай бұрын

    I think it depends on which type project you're doing with

  • @user-ef1di8yl8c

    @user-ef1di8yl8c

    3 ай бұрын

    most frameworks suck and behave like writing inline styles. it's all fun until a redesign

  • @rishiraj2548
    @rishiraj25484 ай бұрын

    👍