Your Web News in One Place

Articles by CSS Tricks from April 2021

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
05:52 pm GMT - Thu, April 29, 2021
CSS Tricks Sending Large Files
I’ve got a podcast that will be 10 years old this coming January! Most of those episodes have one or more guests (plus me and Dave). Despite fancy modern options for recording podcasts with gues...
05:50 pm GMT - Thu, April 29, 2021
CSS Tricks How to Monitor Core Web Vitals and Take Action with Raygun
Raygun is an error and performance monitoring software for websites and mobile apps. In the case of websites, you install their JavaScript snippet onto your site, which takes 2 seconds, and now you...
02:32 pm GMT - Thu, April 29, 2021
CSS Tricks List Markers and String Styles
Listsweve all worked with them in one form or another. Im talking about HTMLs <ol> and <ul>. Much of the time, because we desire styling control, we turn off the lists markers complete...
07:35 pm GMT - Wed, April 28, 2021
CSS Tricks Your Team is Not Them
This post was written for engineering managers, but anyone is welcome to read it.Lets talk for a moment about how we talk about our teams. This might not seem like something that needs a whole article...
02:19 pm GMT - Wed, April 28, 2021
CSS Tricks How to Create Actions for Selected Text With the Selection API
Click, drag, release: youve just selected some text on a webpageprobably to copy and paste it somewhere or to share it. Wouldn’t it be cool if selecting that text revealed some options that make...
08:12 pm GMT - Tue, April 27, 2021
CSS Tricks Shared Element Transitions
I was just Hoping for Better Native PageTransitions, 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...
02:26 pm GMT - Tue, April 27, 2021
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 Properti...
09:02 pm GMT - Mon, April 26, 2021
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 support...
09:02 pm GMT - Mon, April 26, 2021
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 support...
02:05 pm GMT - Mon, April 26, 2021
CSS Tricks Generating (and Solving!) Sudokus in CSS
I love to make CSS do stuff it shouldnt. Its the type of problem-solving brain training youd get building a calculator in Minecraft, except you probably wont get a job working with Minecraft Redstone ...
08:55 pm GMT - Fri, April 23, 2021
CSS Tricks Eliminating five top compatibility pain points on the web
Robert Nyman and Philip Jgenstedt: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 CS...
02:03 pm GMT - Fri, April 23, 2021
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...
09:17 pm GMT - Thu, April 22, 2021
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. Safa...
07:04 pm GMT - Thu, April 22, 2021
CSS Tricks The Almost-Complete Guide to Cumulative Layout Shift
Here’s Jess B. Peck writing all about Google’s Core Web Vitals:Lets step back one. CLS is when youre about to click on a link, and the whole page shifts and you click on a different link i...
07:03 pm GMT - Thu, April 22, 2021
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 ...
02:30 pm GMT - Thu, April 22, 2021
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 ...
10:57 pm GMT - Wed, April 21, 2021
CSS Tricks Still Hoping for Better Native Page Transitions
It sure would be nice to be able to animate the transition between pages if we want to on the web, at least without resorting to hacks or full-blown architecture choices just to achieve it. Some kind ...
08:53 pm GMT - Wed, April 21, 2021
CSS Tricks Sticky Headers: 5 Ways to Make Them Better
Page Laubheimer says that if you’re going to do a sticky header…Keep it small.Visually contrast it with the rest of the page.If it’s going to move, keep it minimal. (I’d say, r...
02:26 pm GMT - Wed, April 21, 2021
CSS Tricks How to Add a Double Border to SVG Shapes
Lets say someone asks you to add a double border to some random geometric SVG shapes. For some reason, you cant use any graphic editorthey need to be generated at runtimeso you have to solve it …...
02:24 pm GMT - Tue, April 20, 2021
CSS Tricks Intrinsic Typography is the Future of Styling Text on the Web
The way we style text hasnt changed much over the years. There have been numerous advancements to help make things more flexible, like layouts, but in terms of styling, most finite aspects of our desi...
02:21 pm GMT - Tue, April 20, 2021
CSS Tricks Say Hello to CSS Container Queries
Container queries are finally here! Now available behind a flag in the latest version of Chrome Canary, you can go ahead and experiment to your hearts content. Oh, and if youre not familiar with conta...
09:33 pm GMT - Mon, April 19, 2021
CSS Tricks How to Improve CSS Performance
There is no doubt that CSS plays a huge role in web performance. Milica Mihajlija puts a point on exactly why: When there is CSS available for a page, whether its inline or an external stylesheet,...
02:17 pm GMT - Mon, April 19, 2021
CSS Tricks Float an Element to the Bottom Corner
Need to lay out an element to the right or the left, such that text wraps around it? Thats an easy task for the float property. But what about if you also want to push that element (lets call it ̷...
06:58 pm GMT - Fri, April 16, 2021
CSS Tricks Creating an Editable Textarea That Supports Syntax-Highlighted Code
When I was working on a project that needed an editor component for source code, I really wanted a way to have that editor highlight the syntax its typed. There are projects like this, like CodeMirror...
02:33 pm GMT - Fri, April 16, 2021
CSS Tricks Platform News: Using :focus-visible, BBCs New Typeface, Declarative Shadow DOMs, A11Y and Placeholders
There’s a whole lot of accessibility in this week’s news, from the nuances of using :focus-visible and input placeholders, to accessible typefaces and a Safari bug with :display: contents....
02:31 pm GMT - Fri, April 16, 2021
CSS Tricks Not Your Typical Horizontal Rules
The default browser style for <hr> is so weird. It’s basically:border-style: inset;border-width: 1px;The default border-color is black, but the border doesn’t actually look black, ...
10:13 pm GMT - Thu, April 15, 2021
CSS Tricks Flash of inAccurate coloR Theme (FART)
There is a lot to think about when implementing a dark mode theme on a website. We have a huge guide on it. There are some very clever quick wins out there, but there are also some quite tricky things...
02:29 pm GMT - Thu, April 15, 2021
CSS Tricks The Importance of Career Laddering
The title of this article is misleading. Its not actually very important for an Engineering Manager to use career laddering, per se, or my process. It is, however, very important that an Engineering M...
02:27 pm GMT - Thu, April 15, 2021
CSS Tricks How to Build a FullStack Serverless HN Clone With Svelte and Fauna
Svelte is a free and open-source front end JavaScript framework that enables developers to build highly performant applications with smaller application bundles. Svelte also empowers developers with i...
10:00 pm GMT - Wed, April 14, 2021
CSS Tricks Generating (and Solving!) Sudokus in CSS
I love to make CSS do stuff it shouldnt. Its the type of problem-solving brain training youd get building a calculator in Minecraft, except you probably wont get a job working with Minecraft Redstone ...
09:08 pm GMT - Wed, April 14, 2021
CSS Tricks Building a Settings Component
This is a tremendous CSS-focused tutorial from Adam Argyle. I really like the “just for gap” concept here. Grid is extremely powerful, but you don’t have to use all its abilities eve...
02:28 pm GMT - Wed, April 14, 2021
CSS Tricks Going Meta GSAP: The Quest for Perfect Infinite Scrolling
Im not sure how this one came about. But, its a story. This article is more about grokking a concept, one thats going to help you think about your animations in a different way. It so happens that thi...
10:49 pm GMT - Tue, April 13, 2021
CSS Tricks Cloud study
This Robin Sloan fella is an interesting character. Not only have I read his one of his fiction novels, the tremendous Mr. Penumbras 24HourBookstore, but I also use the olive oil he makes with partner...
10:48 pm GMT - Tue, April 13, 2021
CSS Tricks Why Netlify?
I think it’s fair to think of Netlify as a CDN-backed static file host. But it would also be silly to think that’s all it is. That’s why I think it’s smart for them to have pag...
02:22 pm GMT - Tue, April 13, 2021
CSS Tricks CSS is a Strongly Typed Language
One of the ways you can classify a programming language is by how strongly or weakly typed it is. Here, typed means if variables are known at compile time. An example of this would be a scenario where...
02:42 pm GMT - Mon, April 12, 2021
CSS Tricks How to Leverage the Fullscreen API and Style It
Lets look at the Fullscreen API in JavaScript. It allows you to do a pretty powerful thing: full screening exactly one particular element you want it to. Not only that, but CSS can help as well with a...
01:19 pm GMT - Mon, April 12, 2021
CSS Tricks See You Around
Get it? Because this blog post is about Around, the wonderful new video call software. I’ve been using it for my video calls and I’d be happy to deliver you a TLDR right off the bat: It...
01:20 pm GMT - Fri, April 9, 2021
CSS Tricks Headless Form Submission With the WordPress REST API
If youre building a WordPress site, you need a good reason not to choose a WordPress form plugin. They are convenient and offer plenty of customizations that would take a ton of effort to build from s...
05:31 pm GMT - Thu, April 8, 2021
CSS Tricks The `ping` attribute on anchor links
I didn’t know this was a thing until Stefan Judis’s post: <a href="https://www.stefanjudis.com/popular-posts/" ping="https://www.stefanjudis.com/tracking/"Read popular posts</aY...
01:20 pm GMT - Thu, April 8, 2021
CSS Tricks Comparing the New Generation of Build Tools
A bunch of new developer tools have landed in the past year and they are biting at the heels of the tools that have dominated front-end development over the last few years, including webpack, Babel, R...
08:41 pm GMT - Wed, April 7, 2021
CSS Tricks CSS Is, In Fact, Awesome
You’ve seen the iconic image. Perhaps some of what makes that image so iconic is that people see what they want to see in it. If you see it as a critique of CSS being silly, weird, or confusing,...
03:02 pm GMT - Wed, April 7, 2021
CSS Tricks SvelteKit is in public beta
Rich Harris:Think of it as Next for Svelte. It’s a framework for building apps with Svelte, complete with server-side rendering, routing, code-splitting for JS and CSS, adapters for di...
01:09 pm GMT - Wed, April 7, 2021
CSS Tricks Coordinating Svelte Animations With XState
This post is an introduction to XState as it might be used in a Svelte project. XState is unique in the JavaScript ecosystem. It doesnt keep your DOM synced with your application state, nor does it he...
01:08 pm GMT - Wed, April 7, 2021
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...
08:57 pm GMT - Tue, April 6, 2021
CSS Tricks Space Jam
It’s certainly worth noting that the Space Jam website, which made its way into umpteen conference talks for being fabulous evidence of the web’s strength in backward compatibility, has be...
05:49 pm GMT - Tue, April 6, 2021
CSS Tricks Some Articles About Accessibility Ive Saved Recently
“Good news about display: contents and Chrome”Rachel Andrew notes that the accessibility danger of using display: contents; is fixed in Chrome. The problem was that, say you had a parent d...
01:35 pm GMT - Tue, April 6, 2021
CSS Tricks Gaps? Gasp!
At first, there were flexboxes (the children of a display: flex container). If you wanted them to be visually separate, you had to use content justification (i.e. justify-content: space-between), marg...
01:27 pm GMT - Tue, April 6, 2021
CSS Tricks Jetpack Turns 10!
(This is a sponsored post.)Ten years! That’s a huge milestone for a project, especially one that had a pretty simple goal in mind from the start: give self-hosted WordPress sites many of the sam...
07:57 pm GMT - Mon, April 5, 2021
CSS Tricks Splitting Time Between Product and Engineering Efforts
At each company Ive worked, we have had a split between time spent on Product initiatives and Engineering work. The percentages always changed, sometimes 70% Product, 30% Engineering, sometimes as muc...
03:54 pm GMT - Mon, April 5, 2021
CSS Tricks Definition Tag
It’s <dfn. Jen Kramer is doing a #30DaysofHTML email list thing-y on Substack, which is an easy subscribe. It’s only been a few days and all of them have little gems, even for someone ...
12:55 pm GMT - Mon, April 5, 2021
CSS Tricks Creating a Smart Navbar With Vanilla JavaScript
Sticky, or fixed, navigation is a popular design choice because it gives users persistent access to navigate the site. On the other hand, it takes up space on the page and sometimes covers content is ...
07:35 pm GMT - Fri, April 2, 2021
CSS Tricks Platform News: Rounded Outlines, GPU-Accelerated SVG Animations, How CSS Variables Are Resolved
In the news this week, Firefox gets rounded outlines, SVG animations are now GPU-accelerated in Chrome, there are no physical units in CSS, The New York Times crossword is accessible, and CSS variable...
07:34 pm GMT - Fri, April 2, 2021
CSS Tricks Honeypot DEVS ANSWER
I did this thing for Honeypots YouTube Channel. I had heard of Honeypot through these mini documentaries they have done, like about Vue.js, GraphQL, and Ember.js. They do a great job, so I was happy t...
07:10 pm GMT - Fri, April 2, 2021
CSS Tricks The Deno Company
I’m sure a lot of you are paying attention to Deno anyway, the next-gen JavaScript-on-the-sever project from Node creator Ryan Dahl, especially after dropping all these candid regrets about what...
02:49 pm GMT - Fri, April 2, 2021
CSS Tricks Lets Create an Image Pop-Out Effect With SVG Clip Path
Few weeks ago, I stumbled upon this cool pop-out effect by Mikael Ainalem. It showcases the clip-path: path() in CSS, which just got proper support in most modern browsers. I wanted to dig into it mys...
02:49 pm GMT - Fri, April 2, 2021
CSS Tricks Click Outside Detector
It’s a reasonable UX thing that you can click-to-open something, and then not only be able to click that same thing to close it, but click outside the thing that it opened to close it. Kitty Gir...
09:21 pm GMT - Thu, April 1, 2021
CSS Tricks WordPress Caching: All You Need To Know
Here’s Ashley Rich at Delicious Brains writing about all the layers of caching that are relevant to a WordPress site. I think we all know that caching is complicated, but jeez, it’s a jour...
09:20 pm GMT - Thu, April 1, 2021
CSS Tricks React Authentication & Access Control
Authentication and access control are required for most applications, but they often distract us from building core features. In this article, Ill cover a straightforward way to add auth and access co...
02:26 pm GMT - Thu, April 1, 2021
CSS Tricks Fixing a slow site iteratively
Site performance is potentially the most important metric. The better the performance, the better chance that users stay on a page, read content, make purchases, or just about whatever they need to do...
02:23 pm GMT - Thu, April 1, 2021
CSS Tricks Designing calculator apps
It is extremely weird that the calculator apps, even the default ones baked into desktop operating systems, embrace the UI and UX of those little cheap-o plastic physical calculators. I like what Flor...
10:17 pm GMT - Wed, March 31, 2021
CSS Tricks Where the World Wide Web Shines
Heres a fabulous post by Vitaly Friedman that looks at how to make accessible front-end components and what problems there are today when it comes to building them.Theres so much great info packed int...
08:36 pm GMT - Wed, March 31, 2021
CSS Tricks Overlay Fact Sheet
I would hope all our web designer/developer spidey senses trigger when the solution to an accessibility problem isn’t “fix the issue” but rather “add extra stuff to the page.&#...
02:28 pm GMT - Wed, March 31, 2021
CSS Tricks Nailing That Cool Dissolve Transition
Were going to create an impressive transition effect between images thats, dare I say, very simple to implement and apply to any site. Well be using the kampos library because its very good at doing e...
02:27 pm GMT - Wed, March 31, 2021
CSS Tricks This Web Site is a Tech Talk
This literal tech talk (YouTube video embedded in there) by Zach Leatherman is a good time. The talk is sprinkled with fun trickery, so I’m just taking notes on some on it here:I have no idea ho...