Your Web News in One Place

Articles by CSS Tricks from November 2018

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
10:40 pm GMT - Thu, November 29, 2018
CSS Tricks DevTools for Designers
This is such an interesting conversation thread that keeps popping up year after year. The idea is that there could (and perhaps should) be in-browser tooling that helps web designers do their job. Th...
03:03 pm GMT - Thu, November 29, 2018
CSS Tricks Preventing Content Reflow From Lazy-Loaded Images
You know the concept of lazy loading images. It prevents the browser from loading images until those images are in (or nearly in) the browser's viewport. There are a plethora of JavaScript-based lazy ...
09:08 pm GMT - Wed, November 28, 2018
CSS Tricks What If?
Harry Roberts writes about working on a project with a rather nasty design flaw. The website was entirely dependent on images loading before rendering any of the content. He digs into why this bad for...
02:49 pm GMT - Wed, November 28, 2018
CSS Tricks Front-End Developers Have to Manage the Loading Experience
Web performance is a huge complicated topic. There are metrics like total requests, page weight, time to glass, time to interactive, first input delay, etc. There are things to think about like asynch...
03:16 pm GMT - Tue, November 27, 2018
CSS Tricks Front-end development is not a problem to be solved
HTML and CSS are often seen as a burden.This is a feeling Ive noticed from engineers and designers Ive worked with in the past, and its a sentiment thats a lot more transparent with the broader web co...
03:11 pm GMT - Tue, November 27, 2018
CSS Tricks FUIF: Responsive Images by Design
Jon Sneyers:One of the main motivations for FUIF is to have an image format that is responsive by design, which means its no longer necessary to produce many variants of the same image: low-quality pl...
03:06 pm GMT - Mon, November 26, 2018
CSS Tricks CSS Grid in IE: Duplicate area names now supported!
Autoprefixer is now up to version 9.3.1 and there have been a lot of updates since I wrote the original three-part CSS Grid in IE series — the most important update of which is the new grid-area...
03:02 pm GMT - Mon, November 26, 2018
CSS Tricks You might not need a loop
Ire Aderinokun has written a nifty piece using loops and when we might consider replacing it with another method, say .map() and .filter(). I particularly like what she has to say here:As I mentioned ...
03:41 pm GMT - Fri, November 23, 2018
CSS Tricks The Current State of Styling Scrollbars
If you need to style your scrollbars right now, one option is to use a collection of ::webkit prefixed CSS properties. See the Pen CSS-Tricks Almanac: Scrollbars by Chris Coyier (@chriscoyier) on Cod...
02:19 pm GMT - Thu, November 22, 2018
CSS Tricks State of Houdini (Chrome Dev Summit 2018)
Heres a great talk by Das Surma where he looks into what Houdini is and how much of it is implemented in browsers. If youre unfamiliar with that, Houdini is a series of technologies and APIs that give...
02:18 pm GMT - Thu, November 22, 2018
CSS Tricks Add Instant awesomeness to your interfaces with this insanely large icon set
(This is a sponsored post.)When you need to add icons to your interface, the whole process can really suck. Should I use all these default bootstrap icons? Maybe Ill just use the same Google Material ...
02:53 pm GMT - Wed, November 21, 2018
CSS Tricks Swipeable card stack using Vue.js and interact.js
I recently had an opportunity to work on a fantastic research and development project at Netguru. The goal of project (codename: "Wordguru") was to create a card game that anyone can play with their f...
02:49 pm GMT - Wed, November 21, 2018
CSS Tricks Exclusions will hopefully be like more powerful grid-friendly floats
Exclusions (which are currently in a "working draft" spec as I write) are kinda like float in that they allow inline content to wrap around an element. But not exactly a float. Chen Hui Jing has an ex...
11:02 pm GMT - Tue, November 20, 2018
CSS Tricks Prettier & Beautify
Aww, what a cute blog post title, right?Prettier is an "opinionated code formatter." I highly suggest using it. They have a document going deeper into the reasons, but their three marketing bullet poi...
02:42 pm GMT - Tue, November 20, 2018
CSS Tricks Push and ye shall receive
Sometimes the seesaw of web tech is fascinating. Service workers have arrived, and beyond offline networking (read Jeremy's book) which is possibly their best feature, they can enable push notificatio...
02:48 pm GMT - Mon, November 19, 2018
CSS Tricks Why cant we use Functional CSS and regular CSS at the same time?
Harry Nicholls recently wrote all about simplifying styles with functional CSS and you should definitely check it out. In short, functional CSS is another name for atomic CSS or using helper or utilit...
07:22 pm GMT - Fri, November 16, 2018
CSS Tricks GraphQL is Everywhere!
I find GraphQL extremely fun and empowering tech to work with, even as a novice just getting started. You've probably heard the elevator pitch before: it allows you to ask for exactly the data you nee...
03:05 pm GMT - Fri, November 16, 2018
CSS Tricks An Overview of Render Props in React
An Overview of Render Props in ReactUsing render props in React is a technique for efficiently re-using code. According to the React documentation, "a component with a render prop takes a function tha...
10:55 pm GMT - Thu, November 15, 2018
CSS Tricks CSS Animations and Transitions in Email
We don't generally think of CSS animations or transitions inside of email, or really any movement at all outside of an awkward occasional GIF. But there is really no reason you can't use them inside H...
03:16 pm GMT - Thu, November 15, 2018
CSS Tricks Scaling CSS: Two Sides of a Spectrum
The subject of scaling CSS came up a lot in a recent ShopTalk Show with Ben Frain. Ben has put a lot of thought into the subject, even writing a complete book on it, Enduring CSS, which is centered ar...
02:52 pm GMT - Thu, November 15, 2018
CSS Tricks Why monday.com is the Universal Team Management Tool for Your Team
This platform is perfect for teams sized at 2-to-200 — and gives every employee the same level of transparency.Every project management tool seeks to do the same instrumental thing: keep teams c...
03:01 pm GMT - Wed, November 14, 2018
CSS Tricks Keyboard-Only Focus Styles
Like Eric Bailey says, if it's interactive, it needs a focus style. Perhaps your best bet? Don't remove the dang outlines that focusable elements have by default. If you're going to rock a button { ou...
03:00 pm GMT - Wed, November 14, 2018
CSS Tricks Dark modes with CSS
With the introduction of dark mode in macOS, Safari Technology Preview 68 has released a new feature called prefers-color-scheme which lets us detect whether the user has dark mode enabled with a medi...
10:47 pm GMT - Tue, November 13, 2018
CSS Tricks CSS and Network Performance
JavaScript and images tend to get the bulk of the blame for slow websites, but Harry explains very clearly why CSS is equally to blame and harder to deal with:A browser cant render a page until it has...
03:01 pm GMT - Tue, November 13, 2018
CSS Tricks The C in CSS: The Cascade
Following up from Geoffs intro article on The Second "S" in CSS, lets now move the spotlight to the "C" in CSS — what we call the Cascade. Its where things start to get messy, and even confusing...
02:54 pm GMT - Mon, November 12, 2018
CSS Tricks A Bunch of Options for Looping Over querySelectorAll NodeLists
A common need when writing vanilla JavaScript is to find a selection of elements in the DOM and loop over them. For example, finding instances of a button and attaching a click handler to them.const b...
02:53 pm GMT - Mon, November 12, 2018
CSS Tricks Why Browsers Download Stylesheets with Non-Matching Media Queries
Say you have a stylesheet linked up like this:<link href="mobile.css" rel="stylesheet" media="screen and (max-width: 600px)">But as the page loads, you're on a desktop browser where the screen...
04:54 am GMT - Mon, November 12, 2018
CSS Tricks The ironic inaccessibility of a11y
This resonated with me:Its ironic to me that the numeronym a11y lacks accessibility: its not immediately decipherable by humans who arent in the club; and, in some fonts, its visually indistinguishabl...
03:06 pm GMT - Fri, November 9, 2018
CSS Tricks Whens the last time you SFTPd (or the like) into a server and changed a file directly?
In the grand tradition of every single poll question I've ever posted, the poll below has a has a fundamental flaw. In this case, there is no option between "In the last month" and "Never" but, alas, ...
11:44 pm GMT - Thu, November 8, 2018
CSS Tricks Get References from HTML Built with Template Literals
One thing JavaScript template literals are great at is little blocks of HTML. Like:// Probably from some API or whateverconst data = { title: "Title", content: "Content"};const some_html = ` <d...
11:12 pm GMT - Thu, November 8, 2018
CSS Tricks CSS-Tricks Uses Jetpack
(This is a sponsored post.)Hey! I made a little page to explain all the ways in which this very site uses the Jetpack WordPress plugin. Here's the gist of it:Our Jetpack subscription gives us VaultPre...
02:59 pm GMT - Thu, November 8, 2018
CSS Tricks A Guide to Custom Elements for React Developers
I had to build a UI recently and (for the first time in a long while) I didn't have the option of using React.js, which is my preferred solution for UI these days. So, I looked at what the built-in br...
06:35 pm GMT - Wed, November 7, 2018
CSS Tricks Simplify Styling with Functional CSS
There is no doubt that "functional CSS" resonates strongly with some people. If that term is new to you, I belive it's come to mean the same thing as "Atomic CSS" as defined by John Polacek here. Harr...
02:49 pm GMT - Wed, November 7, 2018
CSS Tricks Building a Donut Chart with Vue and SVG
I recently needed to make a donut chart for a reporting dashboard at work. I wanted it to dynamically calculate its segments based on an arbitrary set of values, have labels, scale well across all scr...
02:51 pm GMT - Tue, November 6, 2018
CSS Tricks Fun Tip: Use calc() to Change the Height of a Hero Component
The concept of Fluid Typography was tossed around a couple of years ago. The main idea is that if you know what size your font is at two different viewport sizes, then you can have the font scaling sm...
02:50 pm GMT - Tue, November 6, 2018
CSS Tricks How we made Carousells mobile web experience 3x faster
Both a sobering and interesting read from Stacey Tay on how the team at Carousell gathered the metrics to define a performance budget and, in turn, developed a better experience for their customers: O...
02:54 pm GMT - Mon, November 5, 2018
CSS Tricks Rocking Californias I Voted Sticker in CSS for Election Day 2018
Oh hey, so tomorrow (tomorrow!) is Election Day here in the United States. We're not in the business of making political endorsements or anything like that at CSS-Tricks, though we do endorse that eve...
10:44 pm GMT - Fri, November 2, 2018
CSS Tricks Whats New In CSS?
Rachel hooks us up with what the CSS Working Group is talking about:Styling scrollbars. This would come with properties like scrollbar-width and scrollbar-color. The best we have right now is propriet...
02:02 pm GMT - Fri, November 2, 2018
CSS Tricks Simple Named Grid Areas
I think of named grid areas in CSS Grids as bring-your-own syntactic sugar. You don't absolutely need them (you could express grid placement in other ways), but it can make that placement more intuiti...
07:25 pm GMT - Thu, November 1, 2018
CSS Tricks Understanding React Render Props and HOC
Heres a great post by Aditya Agarwal on the difference between render props and higher-order components in React. I particularly like the demo he chose to explain the two. But, to summarize:Higher-ord...
02:22 pm GMT - Thu, November 1, 2018
CSS Tricks Symbolic Links for Easier Multi-Folder Local Development
You know how you open a "project" in a local code editor? I guess different editors have different terminology for it, but essentially what you are doing is opening a folder/directory and it shows you...
02:13 pm GMT - Thu, November 1, 2018
CSS Tricks monday.com, a new way to manage your work! Meet the new visual project management tool
(This is a sponsored post.)monday.com is a centralized platform for teams to manage every detail of their work, from high-level roadmap planning to the specifics of day-to-day tasks, while building a ...
01:34 pm GMT - Wed, October 31, 2018
CSS Tricks Subset Numerals so Theyre as Awesome as the Rest of Your Content
Youre putting the finishing touches on your new million-dollar-idea your copy is perfect, your color scheme is dazzling, and youve found a glorious font pairing (who knew Baskerville and Raleway look...