Search

Nalezeno "values": 210

Custom Properties as State


Here’s a fun idea from James Stanley: a CSS file (that presumably updates daily) containing CSS custom properties for “seasonal” colors (e.g. spring is greens, fall is oranges). You’d then use the values to theme your site, knowing that those … The post Custom...

XRP Crash Burns Other Crypto Asset Values, BTC Price Remains Unscathed


Digital currency markets have seen some volatile action this week and during the last 24 hours following the XRP charges, a number of coins shed a great deal of value. At the time of publication, the entire crypto-economy is valued at $629 billion and because XRP lost so much value, bitcoin’s...

Minimal Takes on Faking Container Queries


It’s sounding more and more likely that we’re actually going to get real container queries. Google is prototyping a syntax idea from David Baron and refined by Miriam Suzanne. Apparently, there has already been some prototyping done for a switch() syntax which is like container queries...

KuCoin September 2020 Hack: Hacken Research


Last week, the hottest topic in the crypto markets was the KuCoin hack. Our team highly values the need forContinue Reading The post KuCoin September 2020 Hack: Hacken Research appeared first on CoinMarketCap Blog

Can you get valid CSS property values from the browser?


I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That’s like this. CodePen Embed Fallback That gives you, for example, the fact that cursor is a thing. But then how do you know what valid values...

What Happens When Border Radii Overlap?


I’d wager that most times we’re rounding box corners in CSS, we’re applying a uniform border-radius value across the border. It’s a nice touch of polish in many designs. But there are times when we might want different radii for different corners. Easy, right? That way the property takes four...

What does 100% mean in CSS?


When using percentage values in CSS like this… .element { margin-top: 40%; } …what does that % value mean here? What is it a percentage of? There’ve been so many times when I’ll be using percentages and something weird happens. I typically shrug, change the value to something else...

Computed Values: More Than Meets the Eye


Browser DevTools are indispensable for us front end developers. In this article, we’ll take a look at the Computed tab, a small corner of the DevTools panel that shows us big things, like how relative CSS values are resolved. We’ll also see how inheritance fits into the browser’s...

Making lil’ me


Cassie Evans made a lovely illustration of herself and then used Greensock to add a flourish of animations to polish it off. Cassie wrote a series of posts about how she did it: In this post we’ll cover how to get values from the mouse movement and plug them into an animation. This is...

`lh` and `rlh` units


There’s some new units I was totally unaware of from the Level 4 spec for CSS values! The lh unit is “equal to the computed value of line-height” and rlh is the same only of the root element (probably the <html> element) rather than the current element. Why would that...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace