My best CSS tips from 2024

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ • 59

  • @grasshopperweb
    @grasshopperweb 8 днів тому +19

    Glad I stuck it out to the end cause that fit-content trick just released a stress knot in my back I wasn't even aware of 😄

  • @outpost31737
    @outpost31737 8 днів тому +4

    It's hard to keep up with everything CSS so I appreciate all your hard work Kevin. All the best.

  • @jbest84
    @jbest84 8 днів тому +9

    So close to a million subs! You make great content, it is well deserved.

  • @ethansc
    @ethansc 7 днів тому +2

    I ended up using CSS counters for a project of mine after you released that dedicated video and it works super well! It’s a songwriting app I’m hoping to release a demo for in the next few days and I used counters for each of the sections (e.g. Verse 1, Chorus 1, Verse 2, Bridge, Chorus 2, etc). The user can drag and rearrange the sections so I need them to dynamically renumber, and counters work beautifully for that with no JS! Thank you so much for all of the great content you put out!

    • @thedavidd
      @thedavidd 6 днів тому +1

      That is such a cool usecase for CSS counters!

  • @c__beck
    @c__beck 6 днів тому +1

    05:23 you can use the `text-decoration-line: line-through overline underline;` for a hamburger menu icon, yeah? Pure CSS instead of using an image or something.

  • @ejemeniboi
    @ejemeniboi 8 днів тому

    This is GOLD! Thank you Kevin. Always looking towards your videos

  • @hclyrics
    @hclyrics 8 днів тому +1

    All amazing tips! You're undoubtedly gonna break a million subscribers this year.

  • @off___billy
    @off___billy 8 днів тому

    Very good video Kevin, excellent explanation as always. Small tips, great content. Thanks!

  • @VerySadBatman
    @VerySadBatman 7 днів тому

    Legend!!! Learned so much from you!

  • @sarojchauhan7392
    @sarojchauhan7392 7 днів тому

    Css is amazing ❤❤❤ and your teaching style is always rock ❤❤❤❤

  • @605hu4
    @605hu4 8 днів тому +80

    Embrace timestamps Kevin

    • @KevinPowell
      @KevinPowell  8 днів тому +15

      Did you not get any? I put them in this video :)

    • @KevinPowell
      @KevinPowell  8 днів тому +20

      Hmm, super odd. I just checked and don't see any, but I definitely put them in there (you can see them in the description). Gonna look into why they aren't working.

    • @eduazy
      @eduazy 8 днів тому +8

      @@KevinPowell remove the extra 0 before single digit minutes:)

    • @Alex-ml3zx
      @Alex-ml3zx 8 днів тому +1

      @@KevinPowellmaybe cause intro is added 2x

    • @antonym00
      @antonym00 6 днів тому +1

      It works now 🙂

  • @psykhout
    @psykhout 8 днів тому +1

    Been in a css slump haha you always come through

  • @johnborron1059
    @johnborron1059 5 днів тому

    7:55 I'm going to totally do that.

  • @BasicMathTutorials-v3d
    @BasicMathTutorials-v3d 8 днів тому +1

    Such a good video ! wow 😝 thank you

  • @unterohr
    @unterohr 6 днів тому

    absolute brilliant xx

  • @trollocat
    @trollocat 8 днів тому

    3rd and 5th were my favorites, thank you!!

  • @tsudizera
    @tsudizera День тому

    About the last tip, `min-width: fit-content`: isn't it easier to just not set `flex-basis` to `0` and leave it as `auto`?

  • @anuvette
    @anuvette 5 днів тому

    Kevin i found a kinda cool scrolling effect while browsing thru kickstarter. u can see it in rewards tab of any kickstarter project. (the cards scroll and then stop like a sticky navbar or something until some event and it scrolls up again and disappear until another card takes its place and then stays stuck; sorry for rambling i tried my best to explain the effect) like i dont even know where to begin recreating that. will u try to recreate it using css in a future video🥺 thanks.

  • @JimKernix
    @JimKernix 7 днів тому

    I was hoping you would do a video like this - some kind of summary. I'm bad with putting into practice the things you cover.

  •  8 днів тому

    Cool tips, thanks 💖

  • @PIka15Channel
    @PIka15Channel 8 днів тому +2

    Thanks for the video! I am curious about @layer in this video, do you have a video explain about it?

    • @KevinPowell
      @KevinPowell  8 днів тому +1

      I do! ua-cam.com/video/NDNRGW-_1EE/v-deo.html

    • @PIka15Channel
      @PIka15Channel 8 днів тому

      @@KevinPowell thank you!

  • @serkanalkan8150
    @serkanalkan8150 3 дні тому

    Nice post!

  • @killerwolle88
    @killerwolle88 6 днів тому

    I want someone to look at me the way Kevin looks at text-decoration.

  • @8_ball_z
    @8_ball_z 8 днів тому

    Good tips!

  • @skumpuntele8941
    @skumpuntele8941 4 дні тому

    How to get that nice elevation like on the primary button in the last tip?

  • @callanambulancebutnotforme5702
    @callanambulancebutnotforme5702 8 днів тому

    I love your content 😍😍

  • @MrZogar1993
    @MrZogar1993 3 дні тому +1

    Wait, its "hello my front end friends" not "hello my friend and friends"?

  • @maxidevs
    @maxidevs 2 дні тому

    Me encanta que este en español, igual siempre los vi en ingles, pero ahora es mas comodo para mi jajajaja

  • @RENAISSANCE_DAY
    @RENAISSANCE_DAY День тому

    You first caught my attention by a term you used for "website readability" and the logical ascertion that the ac t of reading involves scanning a page at a certain width.
    This is something that I have been in rather problematic discussions with clients. Trying to fill up a large screen by increasins font size or for end to end in browser view port with modest padding just does not make sense.
    What is the term you used for readability and keeping read area to about 1200 to 1400 pixels?

    • @KevinPowell
      @KevinPowell  2 години тому

      Generally the rule in typography is 45-75 characters per line, I believe...
      Now, on an ultra wide, if you did that with very big text, it could be terrible, lol. Not sure if there is a fixed rule though.

  • @midnightinsane6893
    @midnightinsane6893 6 днів тому

    The github link doesn't had the last demo.

  • @brohands-je9gg
    @brohands-je9gg 2 дні тому

    Its been nearly two years ive started to use css .mostly tailwindcss , but when it s come to make some modern navigation menu kinda like tricky ones i lack html structure and css ? Is it normal , for some times i google lots of syntax too

  • @МаксимИванов-я1и3ъ

    Hi Kevin, can you explain what that extension is on the right side of the screen, please?

    • @KevinPowell
      @KevinPowell  8 днів тому

      Think it was just my dev tools :)

  • @watchandlearn7945
    @watchandlearn7945 5 днів тому

    When I write text-decoration-thickness: 14px; It does not work for me until I add the text-decoration property also. where as you write "text-decoration-thickness:" only without adding the text decoration its worked for you

  • @smyrrha
    @smyrrha 8 днів тому

    Good afternoon! Could you put this code in a repository? Tks

    • @KevinPowell
      @KevinPowell  8 днів тому

      Here you go: github.com/kevin-powell/top-tips-2024

    • @smyrrha
      @smyrrha 5 днів тому

      @@KevinPowell

  • @Battle-Scarred
    @Battle-Scarred 8 днів тому

    Nice

  • @arturkwiatkowski5019
    @arturkwiatkowski5019 8 днів тому

    Great

  • @sangeethastephen8357
    @sangeethastephen8357 6 днів тому

    I told my husband that I have a massive crush on you because you are a front-end genius with a big brain😇😎

  • @jorgeabelburgosquezada2065
    @jorgeabelburgosquezada2065 8 днів тому

    Por favor activa en tu canal la traducción automática mediante IA.

    • @KevinPowell
      @KevinPowell  8 днів тому

      I have to trigger it for each video, and I have limited number of videos I can do a week... I'd been doing some older videos, so I'd run out when I uploaded this one. I'll try to do it soon :)

    • @trollocat
      @trollocat 8 днів тому

      amigo si quieres codear tienes que saber inglés, una traducción de IA en un video de programación en inglés probablemente va a traducir las palabras reservadas del lenguaje de programación y no te va a ayudar para nada 🙏 a menos que busques contenido nativo en español

  • @BossPetta
    @BossPetta 3 дні тому +1

    La voz de la traducción al español es horrible 😞

    • @KevinPowell
      @KevinPowell  3 дні тому +1

      Sorry to hear that. I used the auto feature in YT to see how it would be 😔

    • @BossPetta
      @BossPetta 2 дні тому

      @@KevinPowell I know Kevin, don't worry too much about that, I've been listening to you in English for years, but I was curious to hear how the automatic translation was. In my opinion they still have a lot of work to do there.

  • @eduardojavier112
    @eduardojavier112 3 дні тому +1

    la traducción debería ser la de un hombre

  • @JJ_Seno
    @JJ_Seno 6 днів тому

    so... many... css... properties

  • @RC-Flight
    @RC-Flight 8 днів тому +1

    The video content was great! But the click bait face in the video thumbnail is a big turnoff when people do them.