Your Web News in One Place

Articles by CSS Tricks from November 2021

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
04:38 pm GMT - Mon, November 29, 2021
CSS Tricks Recreating the Apple Music Hits Playlist Animation in CSS
Apple Music has this “Spatial Audio” feature where the direction of the music in your headphones is based on the location of the device. It’s tough to explain just how neat it is. Bu...
04:38 pm GMT - Mon, November 29, 2021
CSS Tricks We Analyzed 425,909 Favicons
This is a neat idea for a research project. The big map is fun, but the research had some tidbits in it worth looking at.The average favicon network request takes 130ms, at least from our speedy cloud...
08:43 pm GMT - Fri, November 26, 2021
CSS Tricks When is it Right to Reach for contain and will-change in CSS?
I’ve got some blind spots in CSS-related performance things. One example is the will-change property. It’s a good name. You’re telling the browser some particular property (or the sc...
04:12 pm GMT - Fri, November 26, 2021
CSS Tricks A Handy Little System for Animated Entrances in CSS
I love little touches that make a website feel like more than just a static document. What if web content wouldnt just appear when a page loaded, but instead popped, slid, faded, or spun into place? I...
03:49 pm GMT - Wed, November 24, 2021
CSS Tricks Creating Generative Patterns with The CSS Paint API
The browser has long been a medium for art and design. From Lynn Fisher’s joyful A Single Div creations to Diana Smith’s staggeringly detailed CSS paintings, wildly creative, highly skille...
07:21 pm GMT - Tue, November 23, 2021
CSS Tricks Which SVG technique performs best for way too many icons?
Tyler Sticka digs in here in the best possible way: by making a test page and literally measuring performance. Maybe 1,000 icons is a little bit of an edge case, but hey, 250 rows of data with four ic...
04:06 pm GMT - Tue, November 23, 2021
CSS Tricks Control Layout in a Multi-Directional Website
Many business websites need a multilingual setup. As with anything development-related, implementing one in an easy, efficient, and maintainable way is desirable. Designing and developing to be ready ...
09:00 pm GMT - Mon, November 22, 2021
CSS Tricks On User Tracking and Industry Standards on Privacy
Inspired by Eva PenzeyMoog’s new book, Jeremy highlights the widespread user tracking situation in this industry:There was a line that really stood out to me: The idea that its alright...
06:48 pm GMT - Mon, November 22, 2021
CSS Tricks CSS decorations
A reader wrote to me the other day asking about this bit of CSS they came across in Wikipedia’s Common.css:.mw-collapsible-leftside-toggle .mw-collapsible-toggle { /* @noflip */ float: le...
03:29 pm GMT - Mon, November 22, 2021
CSS Tricks Responsive Layouts, Fewer Media Queries
We cannot talk about web development without talking about Responsive Design. Its just a given these days and has been for many years. Media queries are a part of Responsive Design and they arent goin...
10:01 pm GMT - Fri, November 19, 2021
CSS Tricks Reimagine Atomic CSS
I’m not the biggest fan of Atomic CSS myself. I don’t like all the classes. I like to express my styles in CSS because I find CSS… good. But I appreciate that a lot of people seem to...
09:18 pm GMT - Fri, November 19, 2021
CSS Tricks Coding Font Game
A tournament bracket UI where you pick your favorite between two coding fonts and your choices are whittled down all the way to a final winner. A clever way to suss out your own taste and arrive at a ...
03:13 pm GMT - Fri, November 19, 2021
CSS Tricks Parallax Powered by CSS Custom Properties
Good friend Kent C. Dodds has recently dropped his new website which had a lot of work go into it. I was fortunate enough that Kent reached out a while back and asked if I could come up with some R...
08:22 pm GMT - Thu, November 18, 2021
CSS Tricks The Many Faces of VS Code in the Browser
VS Code is built from web technologies (HTML, CSS, and JavaScript), but dare I say today it’s mostly used a local app that’s installed on your machine. That’s starting to shift, thou...
03:38 pm GMT - Thu, November 18, 2021
CSS Tricks PHP Date and Time Recipes
Dealing with dates and times is one of those things that can frustrate programmers a lot. At the same time, they are fundamental to software development, used from everything from meta and how things ...
12:16 am GMT - Thu, November 18, 2021
CSS Tricks Zero Trickery Custom Radios and Checkboxes
I feel like half of all “custom-designed radio buttons and checkboxes” do two things:Make them biggerColorize themI always think of SurveyMonkey for having big chunky radios and checkboxes...
11:09 pm GMT - Wed, November 17, 2021
CSS Tricks What do you get for using a search input type?
Like this: <input type="search">You get an extra-round-y appearance in Safari, which at one time matched the macOS look for search inputs, but not really anymore. I don’t hate the look, ...
03:28 pm GMT - Wed, November 17, 2021
CSS Tricks Cherry-Picking Commits in Git
In part 5 of this series, we looked at rebasing and merging. Although there are a couple of differences between git merge and git rebase, both commands have the same goal: they integrate changes from ...
03:27 pm GMT - Wed, November 17, 2021
CSS Tricks The Gap (Design Engineering)
Egor Kloos describes a situation where a (purely visual) designer asks for some changes to a component. There is a misunderstanding where the (code monkey) developer implements the change exactly as r...
12:49 am GMT - Wed, November 17, 2021
CSS Tricks A Clever Sticky Footer Technique
Upon hearing “sticky footer” these days, I would think most people imagine a position: sticky situation where a footer element appears fixed on the screen while in the scrolling context of...
09:35 pm GMT - Tue, November 16, 2021
CSS Tricks Line length revisited: following the research
Mary Dyson produces nitty gritty research on the long-accepted notion that shorter line lengths are more legible than longer ones. The study finds that shorter lines do not necessarily lead to faster ...
03:37 pm GMT - Tue, November 16, 2021
CSS Tricks Generate a Pull Request of Static Content With a Simple HTML Form
Jamstack has been in the website world for years. Static Site Generators (SSGs) which often have content that lives right within a GitHub repo itself are a big part of that story. That opens up the ...
03:35 pm GMT - Tue, November 16, 2021
CSS Tricks Jamstack TV
That’s the name of Netlify’s YouTube Channel. Love that. I linked up Rich’s talk the other day, which was a part of this past JamstackConf, but now all the talks are up on there. Ric...
01:03 am GMT - Tue, November 16, 2021
CSS Tricks Color Alpha Anywhere
In my “Different Degrees of Custom Property Usage” article, I noted a situation about colors and CSS custom properties where I went “too far” with breaking up HSL color va...
03:32 pm GMT - Mon, November 15, 2021
CSS Tricks Defining and Applying UI Themes Using the Mimcss CSS-in-JS Library
Theming UI refers to the ability to perform a change in visual styles in a consistent manner that defines the look and feel of a site. Swapping color palettes, la dark mode or some other means, is a ...
11:54 pm GMT - Fri, November 12, 2021
CSS Tricks Other Looks at the Conditional Border Radius Trick
Remember when Ahmad Shadeed wrote about that border-radius “toggle” he found in Facebook’s CSS? It was interesting! I covered it. A few weeks after that surge of linkage, a couple of...
03:16 pm GMT - Fri, November 12, 2021
CSS Tricks Interactive Rebase: Clean up your Commit History
Interactive Rebase is the Swiss Army knife of Git commands: lots of use cases and lots of possibilities! It's really a great addition to any developer's tool chain, because it lets you revise your loc...
08:07 pm GMT - Thu, November 11, 2021
CSS Tricks Semantic menu context
Scott digs into the history of the <menu> element. He traced it as far back as HTML 2 (!) in a 1994 changelog. The vibe then, it seems, was to mark up a list. I would suspect the intention ...
03:28 pm GMT - Thu, November 11, 2021
CSS Tricks Easy Dark Mode (and Multiple Color Themes!) in React
I was working on a large React application for a startup, and aside from just wanting some good strategies to keep our styles organized, I wanted to give this whole dark mode thing a shot. With the hu...
03:22 pm GMT - Thu, November 11, 2021
CSS Tricks Quickly Get Alerted to Front-End Errors and Performance Issues
(This is a sponsored post.)Measuring things is great. They say what you only fix what you measure. Raygun is great at measuring websites. Measuring performance, measuring errors and crashes, measuring...
10:38 pm GMT - Wed, November 10, 2021
CSS Tricks Dont Snore on CORS
Whatever, I just needed a title. Everyone’s favorite web security feature has crossed my desk a bunch of times lately and I always feel like that is a sign I should write something because that&...
03:00 pm GMT - Wed, November 10, 2021
CSS Tricks Quick and Dirty Bootstrap Overrides at Runtime
Oh, Bootstrap, that old standard web library that either you hate or you spend all your time defending as its fine, its not that bad. Regardless of what side you fall on, its a powerful UI framework t...
02:55 pm GMT - Wed, November 10, 2021
CSS Tricks cleanup.pictures
Nice domain, eh? Does just what it says on the tin: cleans up pictures. You draw over areas of the image you want cleaned up, and it does its best using weird science. It’s like Photoshop’...
10:53 pm GMT - Tue, November 9, 2021
CSS Tricks Detecting Specific Text Input with HTML and CSS
Louis Lazaris breaks down some bonafide CSS trickery from Jane. The Pen shows off interactivity where:You have to press a special combination of keys on a keyboard.Then type a secret password.From the...
10:53 pm GMT - Tue, November 9, 2021
CSS Tricks VideoPress for WordPress
(This is a sponsored post.)The leade here is that VideoPress makes video on WordPress way better. VideoPress is a part of Jetpack. And now, if VideoPress is the only thing you care about from the Jetp...
03:20 pm GMT - Tue, November 9, 2021
CSS Tricks React Suspense: Lessons Learned While Loading Data
Suspense is Reacts forthcoming feature that helps coordinate asynchronous actionslike data loadingallowing you to easily prevent inconsistent state in your UI. I’ll provide a better explanation ...
07:01 pm GMT - Mon, November 8, 2021
CSS Tricks CSS Grid Can Do Auto Height Transitions
Bonafide CSS trick alert! Nelson Menezes figured out a new way (that only works in Firefox for now) that is awfully clever.Perhaps you know that CSS cannot animate to auto dimensions, which is super u...
02:57 pm GMT - Mon, November 8, 2021
CSS Tricks Icon Glassmorphism Effect in CSS
I recently came across a cool effect known as glassmorphism in a Dribble shot. My first thought was I could quickly recreate it in a few minutes if I just use some emojis for the icons without wasting...
02:56 pm GMT - Mon, November 8, 2021
CSS Tricks Does the Next Generation of Static Site Generators Make Building Sites Better?
Just ran across les, a new static site generator mostly centered around Vue. The world has no particular shortage of static site generators, but it’s interesting to see what this “next gen...
08:47 pm GMT - Fri, November 5, 2021
CSS Tricks Favicons: How to Make Sure Browsers Only Download the SVG Version
ime Vidas DM’d me the other day about this thread from subzey on Twitter. My HTML for favicons was like this:<!-- Warning! Typo! --<link rel="icon" href="/favicon.ico" size="any"<lin...
07:58 pm GMT - Fri, November 5, 2021
CSS Tricks Yes, Design Systems Do Improve Developer Efficiency and Design Consistency
One of the toughest things about being someone who cares deeply about design systems is making the case for a dedicated design system. Folks in leadership will often ask you to prove the value of it. ...
02:45 pm GMT - Fri, November 5, 2021
CSS Tricks How to Create an Animated Chart of Nested Squares Using Masks
We have many well-known chart types: bar, donut, line, pie, you name it. All popular chart libraries support these. Then there are the chart types that do not even have a name. Check out this dreamt-u...
02:43 pm GMT - Fri, November 5, 2021
CSS Tricks enterkeyhint
I only just recently learned the enterkeyhint attribute on form inputs was a thing! It seems like kind of a big deal to me, as crafting HTML form markup is a decent slice of a front-end developer̵...
09:20 pm GMT - Thu, November 4, 2021
CSS Tricks Introducing Svelte, and Comparing Svelte with React and Vue
Josh Collingsworth is clearly a big fan of Svelte, so while this is a fun and useful comparison article, it’s here to crown Svelte the winner all the way through.A few things I find compelling:O...
05:52 pm GMT - Thu, November 4, 2021
CSS Tricks Fixing the Drift in Shape Rotations
Steve Ruiz calls this post an “extra-obscure edition of design tool micro-UX,” but I find it fascinating! If you select a bunch of elements in a design tool, then rotate then, then later s...
02:26 pm GMT - Thu, November 4, 2021
CSS Tricks Scroll-Linked Animations With the Web Animations API (WAAPI) and ScrollTimeline
The Scroll-linked Animations specification is an upcoming and experimental addition that allows us to link animation-progress to scroll-progress: as you scroll up and down a scroll container, a linked...
03:09 pm GMT - Wed, November 3, 2021
CSS Tricks Chapter 10: Browser Wars
In June of 1995, representatives from Microsoft arrived at the Netscape offices. The stated goal was to find ways to work togetherNetscape as the single dominant force in the browser market and Micros...
10:50 pm GMT - Tue, November 2, 2021
CSS Tricks Proxying Third-Party JavaScript as First-Party JavaScript (and the Potential Effect on Analytics)
First, check out how incredibly easy it is to write a Cloudflare Worker to proxy another URL:addEventListener("fetch", (event) ={ event.respondWith( fetch("https://css-tricks.com") );});It doesn...
09:28 pm GMT - Tue, November 2, 2021
CSS Tricks GUI Challenges
I keep bookmarking Adam’s GUI Challenges posts/videos and, before I even have a chance to review and link them up, another one is already published! Fortunately, the homepage for them on web.dev...
02:19 pm GMT - Tue, November 2, 2021
CSS Tricks Rebase vs. Merge: Integrating Changes in Git
This article is part of our Advanced Git series. Be sure to follow us on Twitter or sign up for our newsletter to hear about the next articles!Most developers understand that it’s important to u...
02:17 pm GMT - Tue, November 2, 2021
CSS Tricks Responsible JavaScript
High five to Jeremy on the big release of Responsible JavaScript on A Book Apart. There is a lot of talk about how the proliferation of JavaScript has had a negative impact on the web, but now we have...
10:58 pm GMT - Mon, November 1, 2021
CSS Tricks Buttons vs. Links
There are thousands of articles out there about buttons and links on the web; the differences and how to use them properly. Hey, I don’t mind. I wrote my own as well.It’s such a common mis...
09:43 pm GMT - Mon, November 1, 2021
CSS Tricks Have Single-Page Apps Ruined the Web? (Transitional Apps)
A big heaping 19-minute bowl of not-too-hot, not-too-cold baby bear porridge website building from Rich Harris. I’ve certainly overheard more than my fair share of arguments about Single Page Ap...
02:27 pm GMT - Mon, November 1, 2021
CSS Tricks So, You Want to Build an @mention Autocomplete Feature?
Were all familiar with the concept of autocompletion, right? You type something into a search box and it tries to guess what youre looking for as you type, displaying suggestions, often below the curs...
01:04 am GMT - Mon, November 1, 2021
CSS Tricks CSS-ing Candy Ghost Buttons
Recently, while looking for some ideas on what to code as I have zero artistic sense so the only thing I can do is find pretty things that other people have come up with and remake them with clean and...