Under the radar CSS features for your CSS reset

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024

ความคิดเห็น • 125

  • @mahiabir6348
    @mahiabir6348 10 หลายเดือนก่อน +60

    This channel has made me appreciate css even more

    • @sara-d
      @sara-d 10 หลายเดือนก่อน +1

      Me too 🎉❤

  • @cavemutt
    @cavemutt 10 หลายเดือนก่อน +4

    It never fails, no matter how much I think I know about a particular aspect of CSS, I know that every time I watch a Kevin Powell video, I WILL learn something new!

  • @Vanoisbe
    @Vanoisbe 10 หลายเดือนก่อน +1

    Reset I also use :
    blockquote, q {quotes: none}
    blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
    table {border-collapse: collapse;border-spacing: 0}
    button, input[type=submit] {-webkit-appearance: none; -moz-appearance:none; appearance:none ; background: none; border: none; cursor:pointer;}
    button:focus, a:focus, input:focus {outline:0}
    Obviously, blockquote and buttons, need to be styled later on.
    Thanks for all your video Kevin, it's always a pleasure to listen to your advices.

  • @devshashtag
    @devshashtag 10 หลายเดือนก่อน +1

    i love how you explain the issue then you teach us how to solve it .

  • @SteveRios-u3i
    @SteveRios-u3i 10 หลายเดือนก่อน +11

    I limit how long my characters go too (roughly 60-80 characters) but I use max-inline-size' instead of max-width; with it being a logical property it'll scale with other writing modes.

  • @CleverGeneration
    @CleverGeneration 10 หลายเดือนก่อน +1

    Niiice! I never knew scroll-padding-top even existed, I will definitely be using this, thank you Kevin!

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

    Wow! Smooth scroll is much simpler this way. Thanks!

  • @_ric
    @_ric 10 หลายเดือนก่อน +2

    Minor thing, although I dislike the look of the hanging-punctuation, would you not be better to set the css value onto the element rather than the , after all is intended for inline quoting and has the { quotes: ' .. ' } css property. I'd link the MDN pages for reference but YT will not allow that.

  • @alpaca_growing_kit
    @alpaca_growing_kit 10 หลายเดือนก่อน +4

    I asked gpt4 to make me a really thorough css reset the other day, and I think it actually included most if not all of these tips.

  • @CelliumsBurner
    @CelliumsBurner 10 หลายเดือนก่อน +1

    Happy new year kevin. Very grateful for everything you do for the front end community. I started learning front end web development, and coding in general, in september 2023. I feel like watching your channel has jumpstarted my journey and im learning so fast thanks to your tips and tutorials etc. Thank you!

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

    So Kevin is the best and I say this because he cares about the little things that make huge difference and that is me.

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

    I also implemented the red border line in my reset,
    when I work on a project I tend to create a red border line around my elements to control the various spacings between items.
    I used this code, which I learned through your videos, instead of repeating the code in each element to create a border line, in this way i applied a class name .border (or .red if you want) and it applies the border to the parent and its children's and childrens and childrens and so on
    .border{border: 1px solid red;}
    .border > *{border: 1px solid red;}
    .border > * > *{border: 1px solid red;}
    .border > * > * > *{border: 1px solid red;}
    .border > * > * > * > *{border: 1px solid red;}

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

      I don't know if there is a better way to simplify

  • @TamNguyen-eg3pq
    @TamNguyen-eg3pq 10 หลายเดือนก่อน +1

    Happy New Year Kevin! Thanks for all the CSS videos!! I would love for you to share different resets you've seen before and their use cases if possible

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

    Thanks for video Kevin!
    Here are some resets I use
    * {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    word-wrap: break-word;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background: none;
    }
    img {
    width: auto;
    max-width: 100%;
    height: auto;
    }
    button {
    cursor: pointer;
    }
    a *,
    button * {
    pointer-events: none;
    }
    a *, button * is to easier listen to clicks on actual links and buttons, without js have to bubble up to the a/button elements if you click a "svg" in the element...
    Also for accessibility, you might wanna kill all the transitions and animations while you are at it like this:
    @media (prefers-reduced-motion) {
    *,
    *::before,
    *::after {
    transition: none !important;
    animation: none !important;
    }
    }
    Peace and love!

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

      Nice! Curious what the background none is for 🤔

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

      Thanks! Yeah me too! 🤪 - maybe to kill the standard bg/bg-color on buttons, dropdowns and some other elements, I'm not sure.@@KevinPowell

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

      If you use 2 different fonts for headings and paragraphs, which often is the case.... using the "ch" unit, you might end up with different max-widths right? I haven't played around with it, but I think maybe using another relative unit as rem or something might be better for this. I don't know how this scale when zooming or people have other standard rem settings in their browser. Have you tried this out with "ch" unit? ... Though if people zoom or want bigger text, maybe they want it cross their full screen.@@KevinPowell

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

    You made me love css transition to react

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

    Happy 2024 Kevin and thanks for all your tips !

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

    From each and every video i learn something new from your videos. thanks man appreciate 👍

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

    An interesting inclusion in resets that has been brought to my attention recently is * { min-width: 0; }. That might seem insane at a glance but it makes the implicit way that widths tend to affect each other a lot easier to reason about. It's a little more work to get everything working the way you want to at small sizes after that, but you don't get any of the weird edge cases where things grow outside of their containers when it really seems like they shouldn't and it's really hard to pin down where that behaviour is coming from.

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

    Hello, Kevin, and a belated happy new year. I wish for a new video, where you put all the newer reset ideas together. I have seen all the latest videos, they're all super, but a combined video would help to create your own master reset. Please think about this for an upcoming video. Highly appreciated.

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

    Fantastic entry into 2024! 🙏

  • @Wrightjamie80
    @Wrightjamie80 10 หลายเดือนก่อน +2

    I would keep the scroll-padding-top outside of the media-query - regardless of whether the user prefers reduced motion, it is still required

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

      Should have said, I love putting the smooth scroll into the media query, and the inclusion of the the text-wrap properties.

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

    I learn so much from this channel! Thank you so much, Kevin!

  • @Web-Dev-Codi
    @Web-Dev-Codi 10 หลายเดือนก่อน

    The ultimate CSS reset. Thank you

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +1

      Definitely not the ultimate one as there are some other things that probably could be added, but I think they are useful 😃

  • @BillyClark-m5k
    @BillyClark-m5k 10 หลายเดือนก่อน

    I want a waitlist for any css reset you might put out!!! I just saw this thing about a min-width: 0 to deal with a bunch of weird overflow issues in flex, I wonder if it will make your reset... 😀

  • @David-cz9ej
    @David-cz9ej 8 หลายเดือนก่อน

    Saved this reset for future use. Thank you so much! PS: You forgot to add the smooth scrolling part to your codepen code :)

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

    Really nice tips!

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

    Again, great stuff that I didn't have on my mind!

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

    Hi Kevin...I loved when I found your channel speaking about CSS (its hard here in my country find videos only speaking about css)
    One thing I did learn recently (and liked) was about:
    * {
    ...
    font-size: 62, 5%;
    ....
    }
    Its easier for me now to use rem
    But I have a doubt about on this video
    Without font-size: 62, 5%; the p max-width is 75ch
    But using font-size: 62, 5% should I change p max-width?? To which value?

  • @yrocartist
    @yrocartist 10 หลายเดือนก่อน +1

    Always love your content...but as far as typography goes why no indent on your ul elements? My ocd is going crazy on this lol😂

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

    Happy new year Kevin 🎉

  • @manuelenng
    @manuelenng 10 หลายเดือนก่อน +1

    Everyone is creating their own CSS reset this days. Kevin, don't you think it is time you created yours for public use? I'm definitely trusting yours.

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

    Happy new year buddy❤

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

    Thank's Kevin.

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

    Happy new year 🎉

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

      Happy new year 🎊

  • @JeremiahMcCann
    @JeremiahMcCann 10 หลายเดือนก่อน +1

    I've been looking at resets/normalize lately and I've seen people either put the normalization in a layer or use `:where(tag, tag2)` to reduce specificity of the normalization. That way it doesn't get in the way of any other styling.
    I've also seen a hackier, but more supported `tag:not([class])` so the selector won't affect any styles based on class.

  • @mukeshodhano4094
    @mukeshodhano4094 10 หลายเดือนก่อน +1

    Even backend developers can center the div if they watch this channel's videos

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

    Great video, but the linked Codepen is missing quite a bit of the video, notably the scrolling section.

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

    about hanging punctuation, if it only works with the beginning of a paragraph, then it’s useless, situations happen much more often when the quote is in the middle of a paragraph, but falls at the beginning of the line, if this new feature works with this case, then yes, it’s wonderful

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

    Wishing you all the best for 2024 Kevin.

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

    anyone else had issues with @media (prefers-reduce-motion: no-preference)? it does not allow for smoothing scrolling on my end. I checked my windows animation option and it is set to animations on, so.... Not sure why it won't work. Great video Kevin!!!! edit: Got it working. It was likely a misspell on my end. User error 99% of the time. ☺

  • @hungry_khid1007
    @hungry_khid1007 10 หลายเดือนก่อน +1

    Always the browser support

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

    Some extra stuff i use in my reset.
    *{
    box-sizing: border-box;
    text-rendering: optimizeSpeed;
    max-height: 999999px;
    }
    ::selection {background: var(--primary-l1); color: #fff;} // Light version of primary color
    ::placeholder{.paragraph; .regular; .font-size(16); color: #908e8e; overflow: visible;}
    ::-ms-clear {display: none !important;}
    ::-webkit-scrollbar {
    width: 16px;
    }
    ::-webkit-scrollbar-track {
    background: #e1e2e4;
    border-radius: 100vw;
    margin: 0;
    }
    ::-webkit-scrollbar-thumb {
    background: darken(#e1e2e4, 28%);
    border: 4px solid #e1e2e4;
    border-radius: 100vw;
    .trans(400);
    }
    ::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    }

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

    I use text-wrap: balance; with 4 words, in smaller screen-sizes it wraps evenly as opposed to orphaned words.

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

      I actually dislike the fact it makes the lines so even. I prefer pretty.

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

    Yoo Happy New Year homie

  • @damyandimitrov611
    @damyandimitrov611 10 หลายเดือนก่อน +4

    Have you considered doing HTML canvas course? I am using that at the moment and there are a lot of tiny stuff that aren't mentioned on many places. It would be nice to have a detailed and functional canvas course.

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +5

      I don't use it very often at all. Could be something to dive into more for 2024 though!

    • @damyandimitrov611
      @damyandimitrov611 10 หลายเดือนก่อน +1

      @@KevinPowell It would be great! I guess I would've some better knowledge after finishing my project with canvas animations, but with each day I find more and more specific stuff for it to be done right

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

    h1, h2 etc. I get why they exist (hangovers from a distant past), but isn't there a better way these days?
    I feel in the next spec they need to make a syntactically different but functionally similar element which can have an attribute to denote the level. e.g.:
    Title Goes Here
    That way, resets can target them all with a single selector, but granular and multiple selections can still be done with a pseudo-selector
    h:nesting(>2)

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

    These 'new' features could be used to achieve the perfect news column grid layouts - ever thought of attempting one of those, Kevin?!

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

    How did you know I'm going through a CSS reset??? Thank you!

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

    Thanks for the video. On another note, what webkit browser are you using? I've had problems testing for Safari on Windows recently... :D

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

    In my reset I would replace the font size with clamp values for fluid type and use something like min(90%, 1600px) to manage the entire page's content width.

  • @Mr.RobotHead
    @Mr.RobotHead 10 หลายเดือนก่อน +3

    I think `hanging-punctuation` is great on large(r) text, like block quotes, but I find it rather unpleasant on standard text. I'd definitely _not_ use it at such a high level.

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

      Large quotes usually have qoute as an icon, so no need to to apply this property anyway.
      Completely agree that moving this quote makes alignment unpleasant.

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +2

      From a typography standpoint, even on small text it's considered the "correct" way to do it. If you pay attention to it, it can sometimes feel off, but generally if you aren't looking for it, the hanging version stands out less. At least, that's the theory

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

    Hello @KevinPowell, I hope you are doing great. could you please make video about responsive approaches on media-query min-width or max-width,which approach is best and why for large project?

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +2

      This might be what you're looking for 😊
      th-cam.com/video/p3k_IrXLNRc/w-d-xo.html

  • @RaphaelRamos-l8b
    @RaphaelRamos-l8b 10 หลายเดือนก่อน

    Hi. Quick question, would rather use Bootstrap or CSS?

  • @ChrisShawUK
    @ChrisShawUK 10 หลายเดือนก่อน +2

    I think I get why these are called resets (because they change some built in browser default). But then when you start adding new stuff, isn't that just a set, rather than a reset?
    I always set a font family and size

  • @SquareballoonCoUk
    @SquareballoonCoUk 10 หลายเดือนก่อน +1

    Why wouldn't you do HTML, has:target ?

  • @ghoo_st
    @ghoo_st 10 หลายเดือนก่อน +1

    How can we stay up to date with the newest css features 🎉😢

  • @ellisj98
    @ellisj98 10 หลายเดือนก่อน +1

    I don’t like putting a max width on all p tags, that really causes problems at some point in a project.

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

    Would be cool if you could go in depth to advanced scss.

  • @developerlayton
    @developerlayton 10 หลายเดือนก่อน +1

    What is the reason you dont use the meyerweb reset.css?

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

    html > * for the scrolling support among various browsers?

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

    I absolutely _despise_ smooth scrolling, or anything that hijacks page scrolling for even a millisecond. That doesn't mean I also want to turn all motion off everywhere. I can tolerate most effects, but right now it's either all or nothing, and I don't like it.
    Though at least I want to commend you for taking into consideration the prefers-reduced-motion query at all. TH-cam's new rotating like / view numbers simply don't, and it's very annoying.

  • @Venyl
    @Venyl 10 หลายเดือนก่อน +3

    I really like to use * { line-height: calc(1em + 0.5rem); } for good looking line heights at any font size

    • @najmantube
      @najmantube 10 หลายเดือนก่อน +2

      I didn't realise you could combine ems and rems. Could you expand a little on how this works, please?

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

      ​@@najmantube Using a calc() you can combine various units. It works like this:
      - 1em sets the line-height to match the current font-size
      - 0.5rem adds a bit of spacing regardless of the current font-size
      Examples:
      font-size: 0.75rem
      line-height = 0.75rem + 0.5rem = 1.25rem
      font-size: 1rem
      line-height = 1rem + 0.5rem = 1.5rem
      font-size: 5rem
      line-height = 5rem + 0.5rem = 5.5rem
      When using line-height: 1.5 it'd just multiply the font-size and be too small or too big, instead giving us line-heights of 1.125rem, 1.5rem and 7.5rem
      tl;dr it's as if you could do line-height: 1 + 0.5rem

    • @najmantube
      @najmantube 10 หลายเดือนก่อน +1

      @@Venyl Got it, thanks:)

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

    Hlo ji Hitesh Sir suggested your channel ❤

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

    You should put up the css file and a sample html on a repo

  • @AaronSchrab
    @AaronSchrab 10 หลายเดือนก่อน +2

    Is there a reason for not doing scroll padding for people who want reduced motion, or was that a mistake since you were adding it to a :has(:target) block that was already limited in that way?

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +1

      Oh, good point! Probably worth having that outside, thanks for mentioning it 😃

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

      @@KevinPowell doh - should have read earlier comments before pointing this out myself!

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

    🎉 thanks

  • @QwDragon
    @QwDragon 10 หลายเดือนก่อน +2

    Why :has(:target) is better than *?
    And actually I think moving punctuation is strange, prefer how it was without hanging-punctuation set.

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

      As far as the hanging punctuation, that's the standard in typography, so any magazine or book will generally have it and you probably didn't notice since you weren't looking for it! When you aren't looking, it tends to stand out less, or at least that's the theory

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

      As for the target, could be worth testing. Habit for me not to target everything for something that's only used in specific spaces, but might be totally fine to do it that way!

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

    I'm not seeing all this code in the code pen not sure if I'm just missing it somehow.

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

    tbh its great small improvement === great changes.

  • @SvilenIvanov-x4m
    @SvilenIvanov-x4m 8 หลายเดือนก่อน

    min-width:0 removes overflowing. The default is auto.

  • @Noam-Bahar
    @Noam-Bahar 10 หลายเดือนก่อน +1

    4:14 why not simply do `* {scroll -behavior: smooth; }`?

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

    Is there any css reset for android and ios webview?

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

    Shouldn't be scroll-padding-top placed out of @media (prefers-reduced-motion: no-preference) {}? This property isn't about motion at all. If you place it there, users with reduced motion won't have any space before elements they're scrolled to.

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

    idk if it counts as a reset feature but I like having an sr-only utility class in my reset. also 8:45 is not a great line out of context haha

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

      🤣🤣
      I do include a .sr-hidden in my starting CSS too 😊

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

    if use :has(:target), html {} bug the scroll?

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

    What are your thoughts on this reset snippet (which I got from another website some years ago) :
    @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    }
    }
    Do you think your reset should include the animation stuff?

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

      This looks fine

  • @fdelaneau
    @fdelaneau 10 หลายเดือนก่อน +1

    Why not include ‘html’ to the selector this would insure a better compatibility for all and the :has(:target) insure that fringe cases are also covered.

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +2

      I mentioned why not only targetting html 8n the video. If you mean comma separatibg them and selecting both, I'd have to test it, but that could be an option. Invalid selectors can break comma separated rules, but :has might not break it, since the syntax is valid... Worth testing 😃

  • @hungry_khid1007
    @hungry_khid1007 10 หลายเดือนก่อน +1

    You don't like border box?

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +1

      I still do it, yeah 😊

  • @milanlizriadi
    @milanlizriadi 10 หลายเดือนก่อน +1

    Happy new year Kevin!
    btw am i first? just asking lol

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

      Are you 10 years old? 🤣

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

      @@pepethepatriot7524 hm why

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +1

      Almost! 😁

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

    Instead of ":has(:target)" would you be able to use "* > *" as a fallback? I'm not sure.

    • @Venyl
      @Venyl 10 หลายเดือนก่อน +2

      no because the latter selects the child, not the parent like the 1st way

    • @QwDragon
      @QwDragon 10 หลายเดือนก่อน +1

      Just * as * > * won't be applied to html.

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

    India time:12:27 pm

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

    September 2024 and text-wrap: pretty still isn't supported in Firefox. *SIGH*

  • @nodidog
    @nodidog 10 หลายเดือนก่อน +1

    Do people actually like 'scroll-behavior: smooth'? I think it just looks janky, prefer the browser default.

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

      Yes, smoth is much clearer if it's really scrolling, not changing of a tab or smth like that.

    • @KevinPowell
      @KevinPowell  10 หลายเดือนก่อน +1

      I find it more obvious that I haven't changed to a new page 🤷

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

      @@KevinPowell That's reasonable. Thanks for your work ❤️

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

    🎉🎉🎉

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

    Text wrap balance & pretty isn't supported by Firefox sadly.

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

    I make * { min-width:max-content; } Never seen anyone do it.

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

    Funny hair

  • @jasonfyk
    @jasonfyk 10 หลายเดือนก่อน +1

    * { min-width: 0; }

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

    css

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

    You know the coding's getting serious when we're using "pretty" as a value.

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

    dd

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

    Here are some of my resets:
    /* Font smoothing */
    * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    }
    /* Selection styles */
    ::-moz-selection {
    background: rgb(var(--clr-primary-rgb) / 0.75);
    color: white;
    -webkit-text-fill-color: white;
    text-shadow: none;
    }
    ::selection {
    background: rgb(var(--clr-primary-rgb) / 0.75);
    color: white;
    -webkit-text-fill-color: white;
    text-shadow: none;
    }
    /* Reduce Motion */
    @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-delay: 0.01ms !important;
    animation-delay: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    -webkit-transition-delay: 0.01ms !important;
    transition-delay: 0.01ms !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    }
    }