Тёмный
Una Kravets
Una Kravets
Una Kravets
Подписаться
Videos about CSS, UI development, productivity, life in the tech industry, building your career, front-end web development, and more.
Комментарии
@ajgubi19
@ajgubi19 18 дней назад
Nice and short video. Made complete sense. Thanks.
@hivesteel
@hivesteel 5 месяцев назад
When the stock splits they don’t necessarily increase the number of your options, likely your number of stock options stays the same and the value goes down
@AviCohen-Nehemia
@AviCohen-Nehemia 5 месяцев назад
For anyone who is unable to find this on MDN, it's because @initial has been renamed to @starting-style
@thomassweet2785
@thomassweet2785 6 месяцев назад
@una any chance you could make an update on this? I saw that the spec was changed from @initial to @starting-style Would be great to also hear a discussion on when it makes sense to use this @ property and when other solutions make more sense. (also when considering vue-transitions or similar things provided by frameworks)
@SiViCode
@SiViCode Год назад
I'm from VietNam.
@bules12
@bules12 Год назад
Debug the code and find the error: const YOU = "Una Kravets" const CRUSHES = ["Ada lovelace", "Chloe Moriondo", YOU] const CRUSHES_I_WANT_TO_MARRY_WITH = CRUSHES.filter((crush) => crush === YOU) console.log(CRUSHES_I_WANT_TO_MARRY_WITH[YOU])
@thecyberhobbit
@thecyberhobbit Год назад
I don't get it though... like at what point does it go from display none to display block? At the start of the transition? end of the transition? middle? I'd love more info about how exactly this works.
@AliHamasGhurki
@AliHamasGhurki Год назад
Not helping, you should have description after that class (display- on-check), you already set the height of display-0n-check and then set opacity to 0, means no effect of display none, so no use of video
@stepbro_davo
@stepbro_davo Год назад
i was looking for this thank you, there were no videos about this new thing
@AdarshParihar161
@AdarshParihar161 Год назад
Thanks Maim your content is very student friendly. And your voice is so much crystal clear please make a playlist on Cascading style sheets from beginner level to Advanced web developer.🎉😊😊
@rubber161
@rubber161 Год назад
Hey, very cool video! I just have a question seeing that this didn't work for me, but the situation is a bit different: I have a div with display:flex applied on it as soon as the DOM loads, and I would like it to gradually disappear and become a display:none as soon as you focus on a specific input field. Now, to do this I used your enumeration in the transition property and then changed those css values in-line with JS, but without the initial state (given that my div's initial state is a display:flex). Does it not work because of the lack of the initial block, or is it something else? Thanks in advance!
@lxc3909
@lxc3909 Год назад
The @initial was already changed to @starting-style to avoid confusion.
@GhanashyamSateesh
@GhanashyamSateesh Год назад
Love this! I had always wondered why browsers didn't support transition-delay & animation-delay for all properties... So cool to see this it being addressed now!
@levsonc
@levsonc Год назад
They do, but some properties aren't animatable. It hard to say what animation would make sense for properties like ‘display’. So, here is @initial property is added to make sensible approach. It's a draft, as far as I understand, so everything is subject to change.
@renatomagnus6718
@renatomagnus6718 Год назад
Hi, i'm a brazilian React developer and just find yout channel now, I was looking for CSS layer content. I really liked the way you explain and started follow you. Thanks for the nice job!
@AaronGrogg
@AaronGrogg Год назад
Definitely quite awesome, but the entire @initial block seems like something the browser should be able to figure out for me, without me having to duplicate the CSS that I have already applied to the element... 😕
@UnaKravets
@UnaKravets Год назад
It’s only duplicate if the entry and exit are identical. If they’re different, you’d need this anyway.
@rotemhorovitz732
@rotemhorovitz732 Год назад
This is awesome, can’t wait!!
@nielskersic328
@nielskersic328 Год назад
What would happen if the transition for display was more or less than the 0.5s set for the opacity?
@UnaKravets
@UnaKravets Год назад
Then it would be a bit more of an abrupt disappearance and opacity wouldn't finish going to 0 (you can try it out yourself in Canary behind the experimental web platform features flag)
@sbfotome
@sbfotome Год назад
where can we learn more about this at?
@UnaKravets
@UnaKravets Год назад
Best place for now is CSSWG issues: www.google.com/url?sa=j&url=https%3A%2F%2Fgithub.com%2Fw3c%2Fcsswg-drafts%2Fissues%2F8174&uct=1657644384&usg=J9N7WUnmKRr8QKG7GTJYZWin3as.&source=chat
@sbfotome
@sbfotome Год назад
@@UnaKravets Thank you.
@johndjameson
@johndjameson Год назад
Ooooh, this is cool! How would it affect the positioning of elements below?
@UnaKravets
@UnaKravets Год назад
Depends on how it's positioned! I have another demo that "grows in": codepen.io/una/pen/NWOjryW
@_edmoore
@_edmoore Год назад
This will be so good 🎉
@richardegil
@richardegil Год назад
YESSSSSS!!! Can't wait for this to get a release.
@MrAndi1281
@MrAndi1281 Год назад
Great video!
@facesofthefrontierbycamill1055
thank you for this!
@joe_hallenbeck
@joe_hallenbeck Год назад
I can't get this to work. I'm using Canary 113.0.5657.0 (Official Build) canary (64-bit) but seeing "Unknown property name" in devtools. 🤔
@UnaKravets
@UnaKravets Год назад
Try turning on the flag for "Experimental Web Platform Features" at chrome://flags
@joe_hallenbeck
@joe_hallenbeck Год назад
@@UnaKravets That got it - I had a feeling I must be missing a flag somewhere :)
@andrewmat
@andrewmat Год назад
I lost the count of how many landing pages asked for this, there was no way to do it easily and most of the time it broke on different devices
@azacs
@azacs Год назад
Nathan Ford's widowAdjust is pretty decent. This is obviously much easier.
@Skatox
@Skatox Год назад
wow, this makes the text easier to read.
@treelzebub
@treelzebub Год назад
i audibly made the Toy Story alien "oooo" noise 😆
@valk3310
@valk3310 Год назад
This is awesome! Can't wait to try it out :)
@rodrigonoales
@rodrigonoales Год назад
Beautiful !
@yanaiedri
@yanaiedri Год назад
nice one :)
@joostschuur
@joostschuur Год назад
'Intent to ship' sounds like something right out of a court document ;)
@Mong3
@Mong3 Год назад
Keep with the excellent content Una! Thx.
@johndjameson
@johndjameson Год назад
This is so cool! 🎉
@svetlanastar31
@svetlanastar31 Год назад
🎉
@gofudgeyourselves9024
@gofudgeyourselves9024 Год назад
2022 Oct
@yoannyoyo1246
@yoannyoyo1246 2 года назад
The clearest explanation that I found about CSS layers. I would love to hear your thoughts about how you think this tool can affect the overarching topic of CSS architecture :)
@ptr6000
@ptr6000 2 года назад
Try saying “specificity” ten times
@darkbasic8769
@darkbasic8769 2 года назад
Best 5 minutes I've spent today. Thanks!
@piyushaggarwal5207
@piyushaggarwal5207 2 года назад
Man! your weeks are too long and too inconsistent
@aroyanbs
@aroyanbs 2 года назад
Love it!
@jasetify
@jasetify 2 года назад
I think I just fell in love...
@epeleg
@epeleg 2 года назад
thanks. So how is having color: revert-layer different then not having it there at all? will it not show whatever is resolved up to the pervious layer anyway?
@1anre
@1anre 2 года назад
Was a knowledgeable video. Strike price. Vesting. Common shares. Premium shares.
@jeffreyr9773
@jeffreyr9773 2 года назад
You are doing great, keep it up!! use a service such as P-R-O-M-O-S-M!!
@Gregorius421
@Gregorius421 2 года назад
Thank you, interesting... Certainly the opposite of what I expected along the lines of common sense. I wonder what's the benefit of doing it this way, for ex. when would an !important user-agent style be more important than the author's !important wish?
@theonlyandy
@theonlyandy 2 года назад
OMG I wrongly assumed user stylesheets always had the highest specificity. Because how else could a user apply preferred link colours? But the answer actually is !important, it seems! When picking “Always set these colours“ in Firefox, this is probably adding an !important to the user styles, which in turn will even overrule !important rules in the author stylesheet. On the other hand, user stylesheets without !important are probably pretty useless.
@Gregorius421
@Gregorius421 2 года назад
I was also surprised that user stylesheets are not for the use-case that the Stylus/Stylish extensions target. What's their purpose is, idk.
@afaque.
@afaque. 2 года назад
here from KP's video and I am going to stay here
@kevinivan91
@kevinivan91 2 года назад
Didn't understand the @layer thing. Had to look it up to see that it was actual CSS syntax (experimental). Now I kind of get it. Thanks Una!
@Frondlock
@Frondlock 2 года назад
So great content! Subed!