How to Create Actions for Selected Text With the Selection API

Click, drag, release: you’ve just selected some text on a webpage — probably to copy and paste it somewhere or to share it. Wouldn’t it be cool if selecting that text revealed some options that make those tasks easier? That’s …

The post How to Create Actions for Selected Text With the Selection API appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/how-to-create-actions-for-selected-text-with-the-selection-api/

4y | CSS tricks
Shared Element Transitions

I was just Hoping for Better Native Page Transitions, and Bramus commented that Chrome is working on something. Looks like it has some fresh enthusiasm for it, as there is a brand new repo, and you can literally …

The post Shared Element Transitions appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/shared-element-transitions/

4y | CSS tricks
A Complete Guide to Custom Properties

Everything important and useful to know about CSS Custom Properties. Like that they are often referred to as "CSS Variables" but that's not their real name.

The post A Complete Guide to Custom Properties appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/a-complete-guide-to-custom-properties/

4y | CSS tricks
Exploring color-contrast() for the first time.

I saw in the release notes for Safari Technical Preview 122 that it has support for a color-contrast() function in CSS. Safari is first out of the gate here. As far as I know, no other browser supports this yet …

The post Exploring color-contrast() for the first time. appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/exploring-color-contrast-for-the-first-time/

4y | CSS tricks
Eliminating five top compatibility pain points on the web

Robert Nyman and Philip Jägenstedt:

Google is working with other browser vendors and industry partners to fix the top five browser compatibility pain points for web developers. The areas of focus are CSS Flexbox, CSS Grid, position: sticky, 

The post Eliminating five top compatibility pain points on the web appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://web.dev/compat2021/

4y | CSS tricks
Using New Gatsby Source WordPress Plugin

In my previous article, I discussed how I learned to create a decoupled WordPress powered Gatsby site using the Gatsby Source WPGraphQL plugin. The project was done following the ongoing developmental version of WPGraphQL and an excellent tutorial by Henrik …

The post Using New Gatsby Source WordPress Plugin appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/using-new-gatsby-source-wordpress-plugin/

4y | CSS tricks
Text That Sometimes Turns to Emojis

There are some Unicode characters that some browsers just decide they are going to turn into emojis for you. I couldn’t tell you why exactly, but here’s what I see: Chrome on the left. Safari in the simulator on top…

The post Text That Sometimes Turns to Emojis appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/text-that-sometimes-turns-to-emojis/

4y | CSS tricks
Tools to Improve UX and Win Over Your Customers

Try Hotjar for free today! An enjoyable user experience and high conversion rates go hand-in-hand. It makes sense then, that if you want to improve conversion rates, your first task is to improve user experience. To improve UX, deeply understanding …

The post Tools to Improve UX and Win Over Your Customers appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/tools-to-improve-ux-and-win-over-your-customers/

4y | CSS tricks
The Almost-Complete Guide to Cumulative Layout Shift

Here’s Jess B. Peck writing all about Google’s Core Web Vitals:

Let’s step back one. CLS is when you’re about to click on a link, and the whole page shifts and you click on a different link instead. It’s when

The post The Almost-Complete Guide to Cumulative Layout Shift appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://jessbpeck.com/posts/completecls/

4y | CSS tricks
The Making (and Potential Benefits) of a CSS Font

Not a typical one, at least. Each character is an HTML element, built with CSS. A true web font! Let me elaborate. This is a way to render text without using any font at all. Random text is split with …

The post The Making (and Potential Benefits) of a CSS Font appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/the-making-and-potential-benefits-of-a-css-font/

4y | CSS tricks

Căutare