Search
Parsel: A tiny, permissive CSS selector parser
2.10.2020
If you’ve ever thought to yourself, gosh, self, I wish I could have an Abstract Syntax Tree (AST) of this CSS selector, Lea has your back.
If you’ve ever thought that same thing for an entire CSS file, that’s what PostCSS is, which has gone v8. PostCSS doesn’t do anything...
How Web 3.0 Creates Value for Users, Not Platforms
18.9.2020
There has been a Cambrian explosion of Web 3.0 apps. Let's make sure this evolution continues for decades to come
How CSS Perspective Works
9.9.2020
As someone who loves creating CSS animations, one of the more powerful tools I use is perspective. While the perspective property is not capable of 3D effects all by itself (since basic shapes can’t have depth), you can use the transform property to move and rotate objects in a 3D space (with...
President Macron Could Leverage Blockchain to Transform Lebanon Aid
10.8.2020
Blockchain technology has the potential to bring transparency to the deployment of financial aid
Q&A: How Blockchain Could Transform the Art Industry
10.8.2020
Blockchain is transforming industries left, right and center — but how could this technology benefit the art world?
Crypto Artists and Investors Trusts NFTs to Transform the Art Industry
9.8.2020
With Nifty Gateway recently auctioning a digital artwork and NFT for a record $55,555.55, the art world is on alert
Warp SVG Online
6.8.2020
The warping is certainly the cool part here. Some fancy math literally transforms the path data to do the warping. But the UX detail work here is just as nice. Scrolling the page zooms in and out via a transform: scale() on the SVG wrapper (clever!). Likewise, holding the spacebar lets you...
UTE Joins Energy Web to Transform Energy Sector with Blockchain
23.7.2020
In its efforts to become a global leader in digital innovation and rapid energy-sector decarbonization, Uruguay’s grid operator Administración Nacional de Usinas y Trasmisiones Eléctricas (UTE) has announced its partnership with Energy Web (EW). The partnership will allow UTE to leverage...
Alchemy Aims to Transform Blockchain Development with New Build Tools
9.7.2020
New dev tools promise to make blockchain development open to more engineers, as well as faster and more efficient
SEC’s Cryptomom Peirce Believes US Capital Markets Can ‘Transform People’s Lives’
7.7.2020
SEC Commissioner Hester Peirce wants to see new crypto projects get a fair shake at U.S. capital markets
The Mad Magazine Fold-In Effect in CSS
25.6.2020
This was always my favorite thing in Mad magazine. One page (the inside of the back cover, I think) was covered in a zany illustration. You folded that page in thirds, covering up the middle-third of that image, and a new image would form because the illustration was designed to perfectly line...
Turning a Fixed-Size Object into a Responsive Element
11.5.2020
I was in a situation recently where I wanted to show an iPhone on a website. I wanted users to be able to interact with an application demo on this “mock” phone, so it had to be rendered in CSS, not an image. I found a great library called marvelapp/devices.css. The library implemented the device...
Different Approaches to Responsive CSS Motion Path
24.4.2020
As a follow-up to Jhey’s recent post on responsive motion paths, Michelle Barker notes that another approach could be to just transform: scale() the whole dang element.
The trade-off there is that you’re scaling both the path and the element on the path at the same time; Jhey’s...
How to Re-Create a Nifty Netflix Animation in CSS
7.4.2020
The design for Netflix’s browse page has remained pretty similar for a few years now. One mainstay component is the preview slider that allows users to scroll through content and hover on items to see a preview.
One unique characteristic of the UI is its hover behavior. When a show preview...
Performant Expandable Animations: Building Keyframes on the Fly
1.4.2020
Animations have come a long way, continuously providing developers with better tools. CSS Animations, in particular, have defined the ground floor to solve the majority of uses cases. However, there are some animations that require a little bit more work.
You probably know that animations should...
How They Fit Together: Transform, Translate, Rotate, Scale, and Offset
30.3.2020
Firefox 72 was first out of the gate with "independent transforms." That is, instead of having to combine transforms together, like:
.el {
transform: rotate(10deg) scale(0.95) translate(10px, 10px);
}
...we can do:
.el {
rotate: 10deg;
scale: 0.95;
translate: 10px 10px;
}
That's extremely...
CSS Can Influence Screenreaders
23.3.2020
Ben Myers covers some clear examples of where CSS totally changes what some screen readers announce. For example, some screenreader will see text-transform: uppercase; on a button label that says "Add" and read it like an abbreviation, "A.D.D."
These cases of CSS messing with our screenreader...
How Blockchain Can Transform Cybersecurity?
22.3.2020
Cybersecurity is one of the prime concerns of the present world in which businesses are witnessing newer threats with each passing day. Although, the future of cybersecurity will always be unpredictable, yet it is important to prepare the assessment of possible vulnerabilities and potential...
Animating CSS Width and Height Without the Squish Effect
6.3.2020
The first rule of animating on the web: don't animate width and height. It forces the browser to recalculate a bunch of stuff and it's slow (or "expensive" as they say). If you can get away with it, animating any transform property is faster (and "cheaper").
Butttt, transform can be tricky. Check...
Weaving a Line Through Text in CSS
26.2.2020
Earlier this year, I came across this demo by Florin Pop, which makes a line go either over or under the letters of a single line heading. I thought this was a cool idea, but there were a few little things about the implementation I felt I could simplify and improve at the same time.
First off,...