It’s always the stacking context.

In “What the heck, z-index??,” Josh Comeau makes the analogy of layer groups in design software like Photoshop or Figma to stacking contexts in CSS. If you’ve got an element in a layer group A in Photoshop that …

The post It’s always the stacking context. appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://www.joshwcomeau.com/css/stacking-contexts/

4y | CSS tricks
An Event Apart Spring Summit 2021

Hey, look at that, An Event Apart is back with a new event taking place online from April 19-21. That’s three jam-packed days of absolute gems from a stellar lineup of speakers! Guess what? I’m going to be there, …

The post An Event Apart Spring Summit 2021 appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/an-event-apart-spring-summit-2021/

4y | CSS tricks
Taming Blend Modes: `difference` and `exclusion`

Up until 2020, blend modes were a feature I hadn’t used much because I rarely ever had any idea what result they could produce without giving them a try first. And taking the “try it and see what happens” approach …

The post Taming Blend Modes: difference and exclusion appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/taming-blend-modes-difference-and-exclusion/

4y | CSS tricks
Time for Next-Gen Codecs to Dethrone JPEG

AVIF has been getting a lot of tech press, but Jon Sneyers is hot on JPEG XL (which makes sense as he’s the “chair of the JPEG XL ad hoc group in the JPEG Committee”). According to Jon’s comparison, JPEG …

The post Time for Next-Gen Codecs to Dethrone JPEG appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://cloudinary.com/blog/time_for_next_gen_codecs_to_dethrone_jpeg

4y | CSS tricks
Platform News: Prefers Contrast, MathML, :is(), and CSS Background Initial Values

In this week’s round-up, prefers-contrast lands in Safari, MathML gets some attention, :is() is actually quite forgiving, more ADA-related lawsuits, inconsistent initial values for CSS Backgrounds properties can lead to unwanted — but sorta neat — patterns. The prefers-contrast: more…

The post Platform News: Prefers Contrast, MathML, :is(), and CSS Background Initial Values appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/platform

4y | CSS tricks
axe DevTools Pro

I’m going to try to show you some things I think are useful and important about axe™ DevTools and use as few words as possible. axe DevTools includes a browser extension which you need no special expertise to use. You …

The post axe DevTools Pro appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/axe-devtools-pro/

4y | CSS tricks
The Mobile Performance Inequality Gap

Alex Russell made some interesting notes about performance and how it impacts folks on mobile:

[…] CPUs are not improving fast enough to cope with frontend engineers’ rosy resource assumptions. If there is unambiguously good news on the tooling front,

The post The Mobile Performance Inequality Gap appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://infrequently.org/2021/03/the-performance-inequality-gap/

4y | CSS tricks
In Praise of the Unambiguous Click Menu

I still remember my excitement when I learned how to build a hover-triggered submenu with just CSS. (It was probably after reading this 2003 article from A List Apart.) At the time, it was a true CSS trick. Seriously. …

The post In Praise of the Unambiguous Click Menu appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/in-praise-of-the-unambiguous-click-menu/

4y | CSS tricks
Did You Know About the :has CSS Selector?

File this under stuff you don’t need to know just yet, but I think the :has CSS selector is going to have a big impact on how we write CSS in the future. In fact, if it ever ships in …

The post Did You Know About the :has CSS Selector? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/did-you-know-about-the-has-css-selector/

4y | CSS tricks
Handling User Permissions in JavaScript

So, you have been working on this new and fancy web application. Be it a recipe app, a document manager, or even your private cloud, you‘ve now reached the point of working with users and permissions. Take the document manager …

The post Handling User Permissions in JavaScript appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/handling-user-permissions-in-javascript/

4y | CSS tricks

Chercher