Your Web News in One Place

Articles by CSS Tricks from July 2018

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
09:56 pm GMT - Mon, July 30, 2018
CSS Tricks abc to SVG
Here's a little example that Jeremy Keith used to use in his talks. It's stuck with me as one of the coolest examples of progressive enhancement and Technology Being CoolTM around. There is this music...
02:08 pm GMT - Mon, July 30, 2018
CSS Tricks On xlink:href being deprecated in SVG
A reader wrote in to tell me we should update our articles about SVG <use> elements. The attribute we always use for them, xlink:href, is deprecated. Indeed, MDN says:That's pretty strong lang...
07:55 pm GMT - Fri, July 27, 2018
CSS Tricks The peculiar magic of flexbox and auto margins
In front-end development, there are often times when I know that I dont know something. I might know enough to know what CSS to search for, but I have absolutely no idea how to use it or what the righ...
06:05 pm GMT - Fri, July 27, 2018
CSS Tricks Stuff you can do with CSS pointer events
Martijn Cuppens (the same fella with the very weird div!) has some more irresistible CSS trickery. Three of the examples are about making a child element trigger an event on a parent element (almost l...
02:26 pm GMT - Fri, July 27, 2018
CSS Tricks Sometimes `sizes` is quite important.
Paraphrased question from email:I just read your article Responsive Images: If youre just changing resolutions, use srcset. In the age of "responsive websites," srcset does not help in certain situati...
10:11 pm GMT - Thu, July 26, 2018
CSS Tricks Teaching Your Clients How to Use The Website You Built Them
I share my own thoughts on how you might go about educating someone you just built a site for. But it turns out I had a lot of fun putting together a ton of other people's thoughts as well. I tweeted...
10:10 pm GMT - Thu, July 26, 2018
CSS Tricks Recent Videos!
I've recorded a decent number of videos lately, most of which are pairing with someone and digging into a topic as I glean as much information as I can! Several of these are sponsored, in that they ar...
02:06 pm GMT - Thu, July 26, 2018
CSS Tricks Solved with CSS! Logical Styling Based on the Number of Given Elements
This post is the third in a series about the power of CSS. Article Series:Colorizing SVG BackgroundsDropdown MenusLogical Styling Based On the Number of Given Elements (this post)Did you know that CSS...
02:00 pm GMT - Thu, July 26, 2018
CSS Tricks Visual. Intuitive. Unlike Anything Else.
(This is a sponsored post.)monday.com is a team management tool thats found favor with more than 34,000 teams, including teams of two to teams of 2,000+, teams working for startups, and teams working ...
01:36 pm GMT - Wed, July 25, 2018
CSS Tricks Build a state management system with vanilla JavaScript
Managing state is not a new thing in software, but its still relatively new for building software in JavaScript. Traditionally, wed keep state within the DOM itself or even assign it to a global objec...
10:27 pm GMT - Tue, July 24, 2018
CSS Tricks Did you know that style and script tags can be set to display: block?
The other night, Amit Patel mentioned that you can set script tags in HTML to display: block with CSS and then edit that code inline with the contentEditable attribute. This means that you can then se...
02:06 pm GMT - Tue, July 24, 2018
CSS Tricks Finite State Machines with React
As JavaScript applications on the web have grown more complex, so too has the complexity of dealing with state in those applications — state being the aggregate of all the data that an applicati...
09:12 pm GMT - Mon, July 23, 2018
CSS Tricks Developer Roadmaps
The path to becoming a front-end developer, as looked back upon by anyone who self-identifies that way, is likely a very windy one full of thorn bushes and band websites. Still, documenting a path, ev...
04:44 pm GMT - Mon, July 23, 2018
CSS Tricks View Source
I remember seeing this Tom Dale tweet a while back. It's literally about the browser's ability to look at the HTML of the document you're looking at as it first arrived. Now the tweet is stirring up a...
01:56 pm GMT - Mon, July 23, 2018
CSS Tricks Adding Particle Effects to DOM Elements with Canvas
Lets take a look at how to make web pages more visually capable by combining the freedom of <canvas> with HTML elements. Specifically, we will be creating a basic HTML-to-particle effect, but ...
03:37 am GMT - Sat, July 21, 2018
CSS Tricks Your Body Text is Too Small
Several years ago, there was a big push by designers to increase the font-size of websites and I feel like were living in another era of accessibility improvements where a fresh batch of designers are...
07:29 pm GMT - Fri, July 20, 2018
CSS Tricks Font Playground
This is a wondrous little project by Wenting Zhang that showcases a series of variable fonts and lets you manipulate their settings to see the results. Its interesting that theres so many tools like t...
07:28 pm GMT - Fri, July 20, 2018
CSS Tricks Weird things variable fonts can do
I tend to think of variable fonts as a font format in which a single font file is capable of displaying type at near-infinite variations of things like boldness, width, and slantyness. In my experienc...
02:00 pm GMT - Fri, July 20, 2018
CSS Tricks Building Renderless Vue Components
There's this popular analogy of Vue that goes like this: Vue is what you get when React and Angular come together and make a baby. I've always shared this feeling. With Vues small learning curve, it's...
08:37 pm GMT - Thu, July 19, 2018
CSS Tricks CSS: A New Kind of JavaScript
In this wacky and satirical post, Heydon Pickering describes a wild new technology called Cascading Style Sheets that solves a lot of the problems you might bump into when styling things with JavaScri...
08:37 pm GMT - Thu, July 19, 2018
CSS Tricks Accessibility for Teams
Maya Benari:Accessibility is a crucial part of government product design. First, its the law. Federal agencies face legal consequences when they dont meet accessibility requirements. Second, it affect...
01:58 pm GMT - Thu, July 19, 2018
CSS Tricks How to make a modern dashboard with NVD3.js
NVD3.js is a JavaScript visualization library that is free to use and open source. Its derived from the well-known d3.js visualization library. When used the right way, this library can be extremely p...
01:53 pm GMT - Thu, July 19, 2018
CSS Tricks The State of Headless CMS Market
(This is a sponsored post.)In March and April 2018, Kentico conducted the first global report about the state of headless CMS market. We surveyed 986 CMS practitioners in 85 countries about their opin...
02:17 pm GMT - Wed, July 18, 2018
CSS Tricks What bit of advice would you share with someone new to your field?
The most FA of all the FAQs. Here's Laura Kalbag:Find what you love. Dont worry about needing to learn every language, technique or tool. Start with what interests you, and carve your own niche. And t...
02:07 pm GMT - Wed, July 18, 2018
CSS Tricks Automate Your Workflow with Node
You know those tedious tasks you have to do at work: Updating configuration files, copying and pasting files, updating Jira tickets.Time adds up after a while. This was very much the case when I worke...
08:39 pm GMT - Tue, July 17, 2018
CSS Tricks CSS-in-JS: FTW || WTF?
I enjoyed Bruce Lawson's talk on this holiest of wars. It's funny and lighthearted while being well researched and fairly portraying the good arguments on both sides. …The post CSS-in-JS: FTW ||...
01:38 pm GMT - Tue, July 17, 2018
CSS Tricks Render Children in React Using Fragment or Array Components
What comes to your mind when React 16 comes up? Context? Error Boundary? Those are on point. React 16 came with those goodies and much more, but In this post, we'll be looking at the rendering power i...
08:00 pm GMT - Mon, July 16, 2018
CSS Tricks PSA: Yes, Serverless Still Involves Servers.
You clever dog. You've rooted it out! It turns out when you build things with serverless technology you're still using servers. Pardon the patronizing tone there, I've seen one-too-many hot takes at t...
01:55 pm GMT - Mon, July 16, 2018
CSS Tricks Create your own Serverless API
If you dont already know of it, Todd Motto has this great list of public APIs. Its awesome if youre trying out a new framework or new layout pattern and want to hit the ground running without fussing ...
12:31 pm GMT - Mon, July 16, 2018
CSS Tricks Remote Conferences; Bridging the Gap, Clearing the Odds
A few weeks back, I saw one of my esteemed mentors decry the psychological traumas he had experienced, following series and series of refusals at certain embassies.A child concentrating hard at school...
09:14 pm GMT - Fri, July 13, 2018
CSS Tricks The div that looks different in every browser
It's not that Martijn Cuppens used User Agent sniffing, CSS hacks, or anything like that to make this quirk div. This is just a plain ol' <div> using the outline property a la: div { inset 10...
09:13 pm GMT - Fri, July 13, 2018
CSS Tricks Scrolling Gradient
If you want a gradient that changes as you scroll down a very long page, you can create a gradient with a bunch of color stops, apply it to the body and it will do just that. But, what if you don't wa...
01:52 pm GMT - Fri, July 13, 2018
CSS Tricks Anatomy of a malicious script: how a website can take over your browser
By now, we all know that the major tech behemoths like Facebook or Google know everything about our lives, including how often we go to the bathroom (hence all the prostate medication ads that keep po...
04:53 pm GMT - Thu, July 12, 2018
CSS Tricks Design Systems at GitHub
Heres a nifty post by Diana Mounter all about the design systems team at GitHub that details how the team was formed, the problems they've faced and how they've adapted along the way:When I started wo...
01:45 pm GMT - Thu, July 12, 2018
CSS Tricks Building a Complex UI Animation in React, Simply
Lets use React, styled-components, and react-flip-toolkit to make our own version of the animated navigation menu on the Stripe homepage. It's an impressive menu with some slick animation effects and ...
01:43 pm GMT - Thu, July 12, 2018
CSS Tricks Fast, Good, Local Site Search with Jetpack
If you have, say, 20 posts/pages on your WordPress site, the search functionality that is baked right into your self-hosted WordPress site will probably do a great job. Search is a pretty cool feature...
07:11 pm GMT - Wed, July 11, 2018
CSS Tricks Unused
I recently wrote Heres the thing about "unused CSS" tools, where I tried to enumerate all the challenges any tool would have in finding truly "unused" CSS. The overarching idea is that CSS selectors m...
07:07 pm GMT - Wed, July 11, 2018
CSS Tricks Emojis as Icons
There are lots of unicode symbols that make pretty good icons already, like arrows (), marks (), and objects (✂).You can already colorize these like a normal font glyph. Then, there are emojis,...
01:50 pm GMT - Wed, July 11, 2018
CSS Tricks Hyperlinking Beyond the Web
Hyperlinks are the oldest and the most popular feature of the web. The word hypertext (which is the ht in http/s) means text having hyperlinks. The ability to link to other peoples hypertext made the ...
10:20 pm GMT - Tue, July 10, 2018
CSS Tricks Random Day in the Life of a Developer
Yesterday, I started going through my email as soon as I got to work. I always start my day with email. I kinda like email. I read some interesting things in keeping up with the industry. I deal with ...
01:43 pm GMT - Tue, July 10, 2018
CSS Tricks Delivering WordPress in 7KB
Over the past six months, I've become increasingly interested in the topic of web sustainability. The carbon footprint of the Internet was not something I used to give much thought to, which is surpri...
06:26 pm GMT - Mon, July 9, 2018
CSS Tricks itty.bitty
Mark this down as one of the strangest things Ive seen in a good long while. Nicholas Jitkoff has made a tool called itty.bitty that creates websites with all of the assets being contained within thei...
04:57 pm GMT - Mon, July 9, 2018
CSS Tricks Little Tip: Draw Your Grid in ASCII in Your CSS Comments for Quick Reference
Say you declared a grid like this:body { display: grid; grid-template-columns: min-content 1fr; grid-template-rows: min-content auto min-content;}This depends on content, for sure, but how it's lik...
01:53 pm GMT - Mon, July 9, 2018
CSS Tricks The CSS Paint API
The CSS Paint API is extremely exciting, not only for what it is, but what it represents, which is the beginning of a very exciting time for CSS. Lets go over what it is, why we have it and how to sta...
02:03 pm GMT - Fri, July 6, 2018
CSS Tricks CSS Grid in IE: Faking an Auto-Placement Grid with Gaps
This is the third and final part in a three-part series about using CSS grid safely in Internet Explorer 11 (IE11) without going insane.In Part 1, I covered some of the common misconceptions that peop...
02:04 pm GMT - Thu, July 5, 2018
CSS Tricks Prototyping in the Browser
Prototyping animations and interactions is vital for a number of reasons: they can make your interface feel deceptively fast, they can help focus the user on a specific task, and they can provide a be...
01:01 pm GMT - Thu, July 5, 2018
CSS Tricks Reinvest Your Time with HelloSign API
HelloSign API makes it simple to embed secure and legally binding eSignatures directly into any website. It's 2x faster to implement than other eSign solutions and is also the only eSign API that allo...
04:18 pm GMT - Wed, July 4, 2018
CSS Tricks The Eleventh Fourth
Holy heck it feels like the last year has flown by! Longtime readers will remember that the fourth of July is CSS-Tricks birthday and we blog it each year. We turned 10 last year, and now we welcome o...
03:00 pm GMT - Wed, July 4, 2018
CSS Tricks CSS Grid in IE: CSS Grid and the New Autoprefixer
In Part 1 of this series, I debunked a few misconceptions that many people have around the Internet Explorer (IE) implementation of CSS grid. This article builds on that knowledge. It would be best to...
01:15 pm GMT - Tue, July 3, 2018
CSS Tricks Clearfix: A Lesson in Web Development Evolution
The web community has, for the most part, been a spectacularly open place. As such, a lot of the best development techniques happen right out in the open, on blogs and in forums, evolving as theyre pa...
07:10 pm GMT - Mon, July 2, 2018
CSS Tricks Writing Good Support Requests
My take on trying to be helpful to a support staff.One bit is just as relevant for learning development:Writing out a ticket will help you figure out the problem.Sometimes when you have to take a seco...
03:26 pm GMT - Mon, July 2, 2018
CSS Tricks One-Offs
There is this sentiment that you don't design the homepage of a site first. For most sites, it's an anomaly. It's unlike any other page and not something to base the patterns you use for the rest of t...
01:53 pm GMT - Mon, July 2, 2018
CSS Tricks CSS Grid in IE: Debunking Common IE Grid Misconceptions
This is the first in a three-part series all about how to use CSS grid in a way that will work not only in modern browsers but also in Internet Explorer (IE). Imagine writing CSS grid code without hav...