Under the radar CSS features for your CSS reset

Поделиться
HTML-код
  • Опубликовано: 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.

  • @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.

  • @devshashtag
    @devshashtag 10 месяцев назад +1

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

  • @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

  • @_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.

  • @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.

  • @CleverGeneration
    @CleverGeneration 10 месяцев назад +1

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

  • @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

  • @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.

  • @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.

  • @DasunSenanayake
    @DasunSenanayake 10 месяцев назад

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

  • @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

  • @EugeneKoshelev
    @EugeneKoshelev 10 месяцев назад

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

  • @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.

  • @caioliv
    @caioliv 10 месяцев назад

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

  • @montebont
    @montebont 10 месяцев назад

    Happy 2024 Kevin and thanks for all your tips !

  • @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);
    }

  • @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! 🙏

  • @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.

  • @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 :)

  • @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 😃

  • @sakaraiba
    @sakaraiba 10 месяцев назад

    You made me love css transition to react

  • @AtacamaHumanoid
    @AtacamaHumanoid 10 месяцев назад

    Really nice tips!

  • @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

  • @Lucsy3012
    @Lucsy3012 10 месяцев назад

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

  • @JaGaNezhil
    @JaGaNezhil 10 месяцев назад

    Happy new year buddy❤

  • @jithinbp7168
    @jithinbp7168 10 месяцев назад

    Happy new year Kevin 🎉

  • @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.

  • @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.

  • @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.

  • @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. ☺

  • @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😂

  • @mh_kohansal
    @mh_kohansal 9 месяцев назад

    Thank's Kevin.

  • @UmidBek005
    @UmidBek005 10 месяцев назад

    Yoo Happy New Year homie

  • @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.

  • @maxwebstudio
    @maxwebstudio 10 месяцев назад

    Wishing you all the best for 2024 Kevin.

  • @EricFressange
    @EricFressange 10 месяцев назад

    Happy new year 🎉

  • @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

  • @hungry_khid1007
    @hungry_khid1007 10 месяцев назад +1

    Always the browser support

  • @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?

  • @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?!

  • @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

  • @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)

  • @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 😊
      ruclips.net/video/p3k_IrXLNRc/видео.html

  • @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

  • @ZazaMasta
    @ZazaMasta 10 месяцев назад

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

  • @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.

  • @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

  • @SquareballoonCoUk
    @SquareballoonCoUk 10 месяцев назад +1

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

  • @hedgehogform
    @hedgehogform 10 месяцев назад

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

  • @serychristianrenaud
    @serychristianrenaud 10 месяцев назад

    🎉 thanks

  • @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:)

  • @ghoo_st
    @ghoo_st 10 месяцев назад +1

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

  • @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!

  • @Noam-Bahar
    @Noam-Bahar 10 месяцев назад +1

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

  • @developerlayton
    @developerlayton 10 месяцев назад +1

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

  • @YunisRajab
    @YunisRajab 10 месяцев назад

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

  • @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. RUclips's new rotating like / view numbers simply don't, and it's very annoying.

  • @RaphaelRamos-l8b
    @RaphaelRamos-l8b 10 месяцев назад

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

  • @ShariLynnSmith
    @ShariLynnSmith 10 месяцев назад

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

  • @BogdanisheWOT
    @BogdanisheWOT 10 месяцев назад

    html > * for the scrolling support among various browsers?

  • @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!

  • @dipeshjoshi9126
    @dipeshjoshi9126 10 месяцев назад

    tbh its great small improvement === great changes.

  • @SvilenIvanov-x4m
    @SvilenIvanov-x4m 8 месяцев назад

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

  • @marciomrb
    @marciomrb 10 месяцев назад

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

  • @nigam_sharma
    @nigam_sharma 10 месяцев назад

    Hlo ji Hitesh Sir suggested your channel ❤

  • @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.

  • @arozendojr
    @arozendojr 10 месяцев назад

    Is there any css reset for android and ios webview?

  • @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 😊

  • @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

  • @milanlizriadi
    @milanlizriadi 10 месяцев назад +1

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

  • @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 😊

  • @FreakyYas
    @FreakyYas 10 месяцев назад

    India time:12:27 pm

  • @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.

  • @mykalimba
    @mykalimba 2 месяца назад

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

  • @Techtalkswithnonny
    @Techtalkswithnonny 10 месяцев назад

    🎉🎉🎉

  • @outpost31737
    @outpost31737 10 месяцев назад

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

  • @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 ❤️

  • @RodrigoNishino
    @RodrigoNishino 10 месяцев назад

    Funny hair

  • @Psyzenn
    @Psyzenn 9 месяцев назад

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

  • @jasonfyk
    @jasonfyk 10 месяцев назад +1

    * { min-width: 0; }

  • @strategistaow3520
    @strategistaow3520 10 месяцев назад

    css

  • @strategistaow3520
    @strategistaow3520 10 месяцев назад

    dd

  • @leechurchill1965
    @leechurchill1965 10 месяцев назад

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

  • @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;
    }
    }