Your Web News in One Place

Articles by CSS Tricks from September 2019

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
09:08 pm GMT - Fri, September 27, 2019
CSS Tricks Preloading Pages Just Before They are Needed
The typical journey for a person browsing a website: view a page, click a link, browser loads new page. That's assuming no funny business like a Single Page App, which still follows that journey, but ...
02:09 pm GMT - Fri, September 27, 2019
CSS Tricks A Codebase and a Community
I woke up one morning and realized that I had it all wrong. I discovered that code and design are unable to solve every problem on a design systems team, even if many problems can be solved by coding ...
02:09 pm GMT - Fri, September 27, 2019
CSS Tricks What happens when you open a new install of browsers for the 1st time?
Interesting research from Jonathan Sampson, where he watches the network requests a browser makes the very first time you launch it on a fresh install, and otherwise do nothing. This gives you a littl...
07:33 pm GMT - Thu, September 26, 2019
CSS Tricks Weekly Platform News: Layout Shifts, Stalled High-Bitrate Videos, Screenshots in Firefox
In this week's roundup: fighting shifty layouts, some videos might be a bit stalled, and a new way to take screenshots in Firefox.Let's get into the news!Identifying the causes of layout shifts during...
02:15 pm GMT - Thu, September 26, 2019
CSS Tricks Meeting GraphQL at a Cocktail Mixer
GraphQL and REST are two specifications used when building APIs for websites to use. REST defines a series of unique identifiers (URLs) that applications use to request and send data. GraphQL defines ...
02:15 pm GMT - Thu, September 26, 2019
CSS Tricks Paperform
Buy or build is a classic debate in technology. Building things yourself might feel less expensive because there is no line item on your credit card bill, but has cost in the form of time. Buying thin...
02:10 pm GMT - Wed, September 25, 2019
CSS Tricks A Dark Mode Toggle with React and ThemeProvider
I like when websites have a dark mode option. Dark mode makes web pages easier for me to read and helps my eyes feel more relaxed. Many websites, including YouTube and Twitter, have implemented it alr...
02:09 pm GMT - Wed, September 25, 2019
CSS Tricks Thinking in React Hooks
Amelia Wattenberger has written this wonderful and interactive piece about React Hooks and details how they can clean up code and remove all those troubling lifecycle events:React introduced hooks one...
07:43 pm GMT - Tue, September 24, 2019
CSS Tricks Filtering Data Client-Side: Comparing CSS, jQuery, and React
Say you have a list of 100 names:<ul> <li>Randy Hilpert</li> <li>Peggie Jacobi</li> <li>Ethelyn Nolan Sr.</li> <!-- and then some --...
02:18 pm GMT - Tue, September 24, 2019
CSS Tricks An Explanation of How the Intersection Observer Watches
There have been several excellent articles exploring how to use this API, including choices from authors such as Phil Hawksworth, Preethi, and Mateusz Rybczonek, just to name a few. But Im aiming to d...
02:18 pm GMT - Tue, September 24, 2019
CSS Tricks Browser Engine Diversity
We lost Opera when they went Chrome in 2013. Same deal with Edge when it also went Chrome earlier this year. Mike Taylor called these changes a "Decreasingly Diverse Browser Engine World" in a talk I'...
02:17 pm GMT - Tue, September 24, 2019
CSS Tricks Get Geographic Information from an IP Address for Free
Say you need to know what country someone visiting your website is from, because you have an internationalized site and display different things based on that country. You could ask the user. You migh...
08:13 pm GMT - Mon, September 23, 2019
CSS Tricks Link Underlines That Animate Into Block Backgrounds
It's a cool little effect. The default link style has an underline (which is a good idea) and then on :hover you see the underline essentially thicken up turning into almost what it would have looked ...
02:15 pm GMT - Mon, September 23, 2019
CSS Tricks Static First: Pre-Generated JAMstack Sites with Serverless Rendering as a Fallback
You might be seeing the term JAMstack popping up more and more frequently. Ive been a fan of it as an approach for some time. One of the principles of JAMstack is that of pre-rendering. In other words...
02:14 pm GMT - Mon, September 23, 2019
CSS Tricks Random Notes from a JAMstack Roundtable
I hosted a JAMstack roundtable discussion at Web Unleashed this past weekend. Just a few random notes from that experience.I was surprised at first that there really is confusion that the "M" in Jamst...
11:09 pm GMT - Fri, September 20, 2019
CSS Tricks Variable Fonts Link Dump!
There's been a ton of great stuff flying around about variable fonts lately (our tag has loads of stuff as well). I thought I'd round up all the new stuff I hadn't seen before.Google fonts has a beta ...
02:17 pm GMT - Fri, September 20, 2019
CSS Tricks UX Considerations for Web Sharing
From trashy clickbait sites to the most august of publications, share buttons have long been ubiquitous across the web. And yet it is arguable that these buttons arent needed. All mobile browsers Fir...
02:17 pm GMT - Fri, September 20, 2019
CSS Tricks Table with Expando Rows
"Expando Rows" is a concept where multiple related rows in a <table> are collapsed until you open them. You'd call that "progressive disclosure" in interaction design parlance.After all these ...
06:29 pm GMT - Thu, September 19, 2019
CSS Tricks Weekly Platform News: Emoji String Length, Issues with Rounded Buttons, Bundled Exchanges
In this week's roundup, the string length of two emojis is not always equal, something to consider before making that rounded button, and we may have a new way to share web apps between devices, even ...
06:28 pm GMT - Thu, September 19, 2019
CSS Tricks Buddy on CSS-Tricks
Here's a little direct product endorsement for ya: I literally use Buddy for deployment on all my projects. Buddy isn't just a deployment tool, we'll get to that, but it's something that Buddy does ve...
02:19 pm GMT - Thu, September 19, 2019
CSS Tricks Git Pathspecs and How to Use Them
When I was looking through the documentation of git commands, I noticed that many of them had an option for <pathspec>. I initially thought that this was just a technical way to say path, and ...
02:19 pm GMT - Thu, September 19, 2019
CSS Tricks Automatically compress images on Pull Requests
Sarah introduced us to GitHub Actions right after it dropped about a year ago. Now they have improved the feature and are touting its CI/CD abilities. Run tests, do deployment, do whatever stuff compu...
09:41 pm GMT - Wed, September 18, 2019
CSS Tricks Web Developer Search History
Sophie Koonin blogged "Everything I googled in a week as a professional software engineer," which was a fascinating look into the mind of a web developer and what they need to look up during day-to-da...
09:40 pm GMT - Wed, September 18, 2019
CSS Tricks How Web Content Can Affect Power Usage
Because we know that all people with battery-powered devices are constantly concerned about their battery levels, and that websites are significant consumers of that battery power, we should probably ...
02:17 pm GMT - Wed, September 18, 2019
CSS Tricks A Comparison of Static Form Providers
Lets attempt to coin a term here: "Static Form Provider." You bring your HTML <form>, but dont worry about the back-end processing that makes it work. There are a lot of these services out the...
02:16 pm GMT - Wed, September 18, 2019
CSS Tricks Two Browsers Walked Into a Scrollbar
Surprise: scrollbars are complicated, especially cross-browser and cross-platform. Sometimes they take up space and sometimes they don't. Sometimes that is affected by a setting and sometimes it isn't...
08:39 pm GMT - Tue, September 17, 2019
CSS Tricks A Color Picker for Product Images
Sounds kind of like a hard problem doesn't it? We often don't have product shots in thousands of colors, such that we can flip out the <img src="product-red.jpg" alt="red product"> with <i...
08:38 pm GMT - Tue, September 17, 2019
CSS Tricks Overflow And Data Loss In CSS
"Data Loss" is a funny term. My brain thinks of like packet loss on the way from the server to your browser, resulting in missing content in files. Perhaps it is that on some level, but in CSS parlanc...
02:19 pm GMT - Tue, September 17, 2019
CSS Tricks A Proof of Concept for Making Sass Faster
At the start of a new project, Sass compilation happens in the blink of an eye. This feels great, especially when its paired with Browsersync, which reloads the stylesheet for us in the browser. But, ...
02:18 pm GMT - Tue, September 17, 2019
CSS Tricks An Updated List of Our Favorite Jetpack Features for WordPress
It's hard to articulate every reason to use Jetpack for your WordPress site. It's taken us a series of posts to unpack it because it's capable of doing so gosh darn much — a lof of which we put ...
07:48 pm GMT - Mon, September 16, 2019
CSS Tricks CSS-Tricks Chronicle XXXVI
This is one of these little roundups of things going on with myself, this site, and the other sites that are part of the CSS-Tricks family.I was recently in Zrich for Front Conference. It was my first...
04:34 pm GMT - Mon, September 16, 2019
CSS Tricks (Why) Some HTML is optional
Remy Sharp digs into the history of the web and describes why the "p" tag doesnt need to be closed. Side quest fun: also where there will never be new elements added to the "head".The post (Why) Some ...
02:30 pm GMT - Mon, September 16, 2019
CSS Tricks Web Development Merit Badges
A collection of front-end development achievements. How many can you collect?The post Web Development Merit Badges appeared first on CSS-Tricks....
02:27 pm GMT - Mon, September 16, 2019
CSS Tricks 5G Will Definitely Make the Web Slower, Maybe
Scott Jehl has written this wonderful piece about how 5G is on the horizon and how it could cause problems for users. But first, he starts by talking about the overwhelming positive news about it: [.....
02:03 am GMT - Sun, September 15, 2019
CSS Tricks caniemail.com
As long as I can remember the main source for feature support in HTML email clients is Campaign Monitor's guide. Now there is a new player on the block: caniemail.com.HTML email is often joked about i...
10:20 pm GMT - Fri, September 13, 2019
CSS Tricks Where should Subscribe to Podcast link to?
For a while, iTunes was the big dog in podcasting, so if you linked "Subscribe to Podcast" to like:https://podcasts.apple.com/podcast/id493890455...that would make sense. It's a web URL anyway, so it ...
01:49 pm GMT - Fri, September 13, 2019
CSS Tricks Ghost Buttons with Directional Awareness in CSS
It would surprise me if you'd never come across a ghost button 👻. You know the ones: they have a transparent background that fills with a solid color on hover. Smashing Magazine has a whole ar...
11:33 pm GMT - Thu, September 12, 2019
CSS Tricks Weekly Platform News: Apple Deploys Web Components, Progressive HTML Rendering, Self-Hosting Critical Resources
In this week's roundup, Apple gets into web components, how Instagram is insta-loading scripts, and some food for thought for self-hosting critical resources.Apple deploys web components built using S...
06:14 pm GMT - Thu, September 12, 2019
CSS Tricks Simplicity
Earlier this week, Bastian Allgeier published some interesting thoughts about complexity in web development and how changing simple things can often feel far more difficult than they need to be:You wa...
02:22 pm GMT - Thu, September 12, 2019
CSS Tricks Using Custom Properties to Wrangle Variations in Keyframe Animations
Have you ever wondered how to customize CSS animations keyframes without using any preprocessor feature, like mixins? I keep reaching for preprocessors for this reason, but it would be so nice to drop...
02:21 pm GMT - Thu, September 12, 2019
CSS Tricks Fast Static Sites with Netlify and AnyMod
In about 10 minutes, we'll set up a workflow that makes static sites dead simple.You'll get the following:Free httpsFree or cheap hostingBuild sites quicklyEdit with live reloadEdit when youve forgott...
02:26 pm GMT - Wed, September 11, 2019
CSS Tricks Logical Operations with CSS Variables
Very often, while using switch variables (a variable that's either 0 or 1, a concept that's explained in a greater detail in in this post), I wish I could perform logical operations on them. We don't ...
02:22 pm GMT - Wed, September 11, 2019
CSS Tricks Some HTML is Optional
There is a variety of HTML that you can just leave out of the source HTML and it's still valid markup. Doesn't this look weird?<p>Paragraph one.<p>Paragraph two.<p>Paragraph th...
07:51 pm GMT - Tue, September 10, 2019
CSS Tricks Caniuse and MDN compatibility data collaboration
Second only to "silly GIFs," I'd guess screenshots of caniuse are the most common slide graphic at web conferences. It's become the ultimate source for looking at web compatibility data in the hearts ...
02:35 pm GMT - Tue, September 10, 2019
CSS Tricks Hamburger Menu with a Side of React Hooks and Styled Components
We all know what a hamburger menu is, right? When the pattern started making its way into web designs, it was both mocked and applauded for its minimalism that allows main menus to be tucked off scree...
02:33 pm GMT - Tue, September 10, 2019
CSS Tricks Off The Main Thread
JavaScript is what they call "single-threaded." As Brian Barbour puts it:This means it has one call stack and one memory heap.We all feel a symptom of that regularly in the form of performance jank an...
09:32 pm GMT - Mon, September 9, 2019
CSS Tricks CSS Security Vulnerabilities
Don't read that headline and get worried. I don't think CSS is a particularly dangerous security concern and, for the most part, I don't think you need to worry about it. But every once in a while, ar...
02:10 pm GMT - Mon, September 9, 2019
CSS Tricks How to Contribute to an Open Source Project
The following is going to get slightly opinionated and aims to guide someone on their journey into open source. As a prerequisite, you should have basic familiarity with the command line and Git. If y...
02:19 pm GMT - Fri, September 6, 2019
CSS Tricks Various Methods for Expanding a Box While Preserving the Border Radius
I've recently noticed an interesting change on CodePen: on hovering the pens on the homepage, there's a rectangle with rounded corners expanding in the back.Expanding box effect on the CodePen homepag...
07:15 pm GMT - Thu, September 5, 2019
CSS Tricks Weekly Platform News: Text Spacing Bookmarklet, Top-Level Await, New AMP Loading Indicator
In this week's roundup, a handy bookmarklet for inspecting typography, using await to tinker with how JavaScript modules import one another, plus Facebook's in-app browser is only posing as one. Let's...
02:17 pm GMT - Thu, September 5, 2019
CSS Tricks Using a PostCSS function to automate your responsive workflow
A little while back, you might have bumped into this CSS-Tricks article where I described how a mixin can be used to automate responsive font sizes using RFS. In its latest version, v9, RFS is capable...
02:16 pm GMT - Thu, September 5, 2019
CSS Tricks Learn Design for Developers and SVG Animation with Sarah Drasner
(This is a sponsored post.)Hey, Marc here from Frontend Masters — excited to support CSS-Tricks ❤️!Have you checked out Sarah Drasner's courses yet? She has two awesome courses on ...
09:53 pm GMT - Wed, September 4, 2019
CSS Tricks Multiline truncated text with show more button
Now that we've got cross-browser support for the line-clamp property, I expect we'll see a lot more of that around the web. And as we start to see it more in use, its worth the reminder that: Truncati...
02:24 pm GMT - Wed, September 4, 2019
CSS Tricks Model-Based Testing in React with State Machines
Testing applications is crucially important to ensuring that the code is error-free and the logic requirements are met. However, writing tests manually is tedious and prone to human bias and error. Fu...
02:18 pm GMT - Wed, September 4, 2019
CSS Tricks Firefox blocks third-party tracking cookies and cryptominers
This is super interesting stuff from Mozilla: the most recent update of Firefox will now block cryptominers and third-party tracking scripts by default. In the press release they write:For todays rele...
02:22 pm GMT - Tue, September 3, 2019
CSS Tricks Fast Software
There have been some wonderfully interconnected things about fast software lately. We talk a lot of performance on the web. We can make things a little faster here and there. We see rises in success m...
02:22 pm GMT - Tue, September 3, 2019
CSS Tricks Recreating Netlifys Neat-o Sliding Button Effect
Have you seen Netlify's press page? It's one of those places where you can snag a download of the company's logo. I was looking for it this morning because I needed the logo to use as a featured image...
02:07 pm GMT - Mon, September 2, 2019
CSS Tricks Need to scroll to the top of the page?
Perhaps the easiest way to offer that to the user is a link that targets an ID on the <html> element. So like...<html id="top"> <body> <!-- the entire document -->...
02:07 pm GMT - Mon, September 2, 2019
CSS Tricks Should a website work without JavaScript?
The JS Party podcast just had a fun episode where they debated this classic question by splitting into two groups of two. Each group was assigned a "side" of this debate, and then let loose to debate ...