Search
New in Chrome 88: aspect-ratio
20.1.2021
And it was released yesterday! The big news for us in CSS Land is that the new release supports the aspect-ratio property. This comes right on the heels of Safari announcing support for it in Safari Technology Preview 118, …
The post New in Chrome 88: aspect-ratio appeared first...
What Media Property Would You Like To See Adapted Into A Game?
19.1.2021
It’s Tuesday and time for Ask Kotaku, the weekly feature in which Kotaku-ites deliberate on a single burning question. Then, we ask your take.Read more
Svelte and Spring Animations
8.1.2021
Spring animations are a wonderful way to make UI interactions come to life. Rather than merely changing a property at a constant rate over a period of time, springs allow us to move things using spring physics, which gives the …
The post Svelte and Spring Animations appeared first...
Simulating Drop Shadows with the CSS Paint API
29.12.2020
Ask a hundred front-end developers, and most, if not all, of them will have used the box-shadow property in their careers. Shadows are enduringly popular, and can add an elegant, subtle effect if used properly. But shadows occupy a strange …
The post Simulating Drop Shadows with the...
New partnership turns up the volume in crowded blockchain-backed music space
12.12.2020
A collaboration between the Utopia Genesis Foundation and STOKR will enable new revenue streams for artists and investment tools for listeners
Newly Appointed Ukrainian Politician Declares Owning Over $24 Million in Monero
11.12.2020
A 19-year old Ukrainian politician disclosed all the property he owns during an anti-corruption procedure, mandatory for all public officials in Ukraine, who revealed that he holds millions of dollars worth of monero (XMR). 19-Year-Old Ukrainian Politician Discloses Its Monero Holdings Rostislav...
Late to Logical
7.12.2020
2020 brought another wave of logical property features to major browsers and I’ve thoroughly enjoyed my investment into logical, rather than physical, web styling. I feel like I’ve learned a new way to speak about the box model that results in less written code with more global coverage.
p {
...
How to Animate a SVG with border-image
3.12.2020
Let’s take a look at how to combine the border-image property in CSS with animated SVGs that move around a border. In the process, we’ll cover how to hand-craft resizable, nine-slice animated SVGs that you can use not only re-create the effect, but to make it your own.
Here’s what we’re...
Russia to Recognize Bitcoin as Property With Legal Protection
30.11.2020
The Russian prime minister has outlined the government’s plans to amend existing laws to recognize cryptocurrency as property. This means bitcoin owners will have the legal rights to defend and recoup their cryptocurrencies in court. Russia to Recognize Bitcoin as Property During...
Airbnb IPO Prospectus Says Future Success Means Adapting to Cryptocurrencies
20.11.2020
The giant online rental marketplace based in San Francisco, Airbnb is considering supporting cryptocurrencies and blockchain technology. The news stems from the company’s initial public offering (IPO) prospectus with the U.S. Securities and Exchange Commission (SEC). Airbnb’s filing...
grid-auto-flow : CSS Grid :: flex-direction : Flexbox
19.11.2020
When setting a parent element to display: flex, its child elements align left-to-right like this:
CodePen Embed Fallback
Now, one of the neat things we can do with flexbox is change the direction so that child elements are stacked vertically on top of each other in a column. We can do that with...
Bitcoin Evangelist Andreas Antonopoulos Plans to Testify in Billion-Dollar Bitcoin Lawsuit
18.11.2020
On Monday evening November 16, the popular bitcoin evangelist Andreas Antonopoulos tweeted about his upcoming role in the high-profile billion-dollar bitcoin lawsuit, Kleiman v. Wright. Antonopoulos said that he will be “testifying at trial” during the month of April 2021, even though...
A Complete Guide to CSS Gradients
17.11.2020
Like how you can use the background-color property in CSS to declare a solid color background, you can use the background-image property not only to declare image files as backgrounds but gradients as well. Using CSS gradients is better for control and performance than using an actual image (of...
Logical layout enhancements with flow-relative shorthands
16.11.2020
Admission: I’ve never worked on a website that was in anything other than English. I have worked on websites that were translated by other teams, but I didn’t have much to do with it. I do, however, spend a lot of time thinking in terms of block-level and inline-level elements....
Node isConnected
13.11.2020
Every so often I discover a property in JavaScript objects that I didn’t know existed, oftentimes using another trick to accomplish the same functionality. One such property I just learned about was isConnected, a node property that attached to a context (i.e. document). Here’s how...
Understanding flex-grow, flex-shrink, and flex-basis
11.11.2020
When you apply a CSS property to an element, there’s lots of things going on under the hood. For example, let’s say we have some HTML like this:
<div class="parent"<div class="child"Child</div<div class="child"Child</div<div class="child"Child</div</div
And...
Artist, gamer or property mogul? Follow the NFT road to find earnings
2.11.2020
From owning land to playing games and creating artworks, earning opportunities on NFT marketplaces continue to grow
The CSS Custom Property Toggle Trick
29.10.2020
Back in July 2020, I got an email from James0x57 (I always try to refer to people by their name, but I think I get the sense they prefer to go by screen name) that says:
The entire world of branching conditional logic and bulk feature toggling for custom CSS properties is possible and only exists...
More on content-visibility
28.10.2020
Back in August 2020, when the content-visiblity property in CSS trickled its way into Chrome browsers, Una Kravets and Vladimir Levin wrote about it and we covered it. The weirdest part is that to get the performance value out of it, you pair it with contain-intrinsic-size on these big chunks...
Creating CSS Shapes with Emoji
24.10.2020
CSS Shapes is a standard that lets us create geometric shapes over floated elements that cause the inline contents — usually text — around those elements to wrap along the specified shapes.
Such a shaped flow of text looks good in editorial designs or designs that work with text-heavy contents...