Your Web News in One Place

Articles by CSS Tricks from June 2019

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
< Return to CSS Tricks details.
11:25 pm GMT - Fri, June 28, 2019
CSS Tricks The (Developers) Growth Model
I really like the post "The Designers Growth Model" by Dennis Hambeukers. Dennis just invented this model, but it's based on some existing ideas and it all rings true for me. Let me try to summarize t...
05:33 pm GMT - Fri, June 28, 2019
CSS Tricks Weekly Platform News: Event Timing, Google Earth for Web, undead session cookies
In this week's news, Wikipedia helps identify three slow click handlers, Google Earth comes to the web, SVG properties in CSS get more support, and what to do in the event of zombie cookies. The post ...
05:32 pm GMT - Fri, June 28, 2019
CSS Tricks Nownownow
Matthias Ott, relaying an idea he heard from Derek Sivers:Many personal websites, including this one here, have an about page. Its a page that tells you something about the background of a person or a...
09:29 pm GMT - Thu, June 27, 2019
CSS Tricks Which CSS IS AWESOME makes the most sense if you dont know CSS well?
Peter-Paul posted this question:Which of the examples in the image do you consider correct?If you know CSS well, don't reply, just retweet. If you don't know CSS too well, please reply to the ...
03:00 pm GMT - Thu, June 27, 2019
CSS Tricks Different Approaches for Creating a Staggered Animation
Animating elements, at its most basic, is fairly straightforward. Define the keyframes. Name the animation. Call it on an element.But sometimes we need something a little more complex to get the right...
02:57 pm GMT - Thu, June 27, 2019
CSS Tricks Using Percy to add visual testing to a Jekyll site
Visual testing is the automated process of reviewing software from a purely visual standpoint. Instead of testing the code underneath, visual testing is all about what end users actually see and inter...
12:31 am GMT - Thu, June 27, 2019
CSS Tricks Three Predictions From the State of CSS 2019 Survey
Running a developer survey like the State of CSS is a multi-stage process. First, you need to collect the data. Then, you process it into a usable shape. Finally, you come up with nifty ways to visual...
01:59 pm GMT - Wed, June 26, 2019
CSS Tricks Getting to Know the useReducer React Hook
useReducer is one of a handful of React hooks that shipped in React 16.7.0. It accepts a reducer function with the application initial state, returns the current application state, then dispatches a f...
02:06 pm GMT - Tue, June 25, 2019
CSS Tricks Spam Detection APIs
I was trying to research the landscape of these the other day — And by research, I mean light Googling and asking on Twitter. Weirdly, very little comes to mind when thinking about spam detectio...
02:06 pm GMT - Tue, June 25, 2019
CSS Tricks Why I dont use web components
Heres an interesting post by Rich Harris where hes made a list of some of the problems hes experienced in the past with web components and why he doesnt use them today:Given finite resources, time spe...
10:29 pm GMT - Mon, June 24, 2019
CSS Tricks Render Snarky Comments in Comic Sans
Hilarious idea by Zach Leatherman. To test if a comment is "snarky" or not, there is an npm package up to the task. On this site, we generally just delete snarky comments, but I still run a WordPress ...
02:21 pm GMT - Mon, June 24, 2019
CSS Tricks Building a Conference Schedule with CSS Grid
Its hard to beat the feeling of finding a perfect use for a new technology. You can read every handy primer under the sun and ooh-and-ahh at flashy demos, but the first time you use it on your own pro...
03:11 pm GMT - Fri, June 21, 2019
CSS Tricks Reduced Motion Picture Technique, Take Two
Did you see that neat technique for using the <picture> element with <source media=""> to serve an animated image (or not) based on a prefers-reduced-motion media query?After we shared...
03:10 pm GMT - Fri, June 21, 2019
CSS Tricks Weekly Platform News: Mozillas AV1 Encoder, Samsung One UI CSS, DOM Matches Method
In this week's weekly roundup, Vimeo and Mozilla partner up on a video encoding format, how to bind instructions to to form fields using aria labels, the DOM has a matching function, and Samsung is wo...
08:48 pm GMT - Thu, June 20, 2019
CSS Tricks Hello Subgrid!
Rachel Andrews talk at CSSconf is wonderful because it digs into one of the most exciting changes thats coming soon to a browser near you: subgrid! Thats a change to the CSS Grid spec that allows for ...
03:18 pm GMT - Thu, June 20, 2019
CSS Tricks Managing WordPress Metadata in Gutenberg Using a Sidebar Plugin
WordPress released their anticipated over to the post editor, nicknamed Gutenberg, which is also referred to as the block editor. It transforms a WordPress post into a collection of blocks that you ca...
03:04 pm GMT - Thu, June 20, 2019
CSS Tricks So, you think youve got project management nailed down
Who needs a project manager? You're an organized person who can keep track of your own work, right?Wrong.Well, wrong if you're part of a team. The thing about being self-organized is that it's related...
02:25 pm GMT - Wed, June 19, 2019
CSS Tricks How to Increase Your Page Size by 1,500% with webpack and Vue
What we dont have are enough articles showing you how to increase your page size. In fact, the only article I could find was this one from the Geek Squad which ended up being about making the font siz...
02:25 pm GMT - Wed, June 19, 2019
CSS Tricks Drop caps & design systems
Ethan Marcotte has written up his process for how to make drop caps accessible for screen readers and browsers alike. All of that is very interesting and Im sure Ill use a technique like this in the n...
09:57 pm GMT - Tue, June 18, 2019
CSS Tricks Every Layout
Every Layout is a new work-in-progress website and book by Heydon Pickering and Andy Bell that explains how to make common layout patterns with CSS. They describe a lot of the issues when it comes to ...
02:22 pm GMT - Tue, June 18, 2019
CSS Tricks How to Section Your HTML
The sectioning elements in HTML5 are <nav>, <aside>, <article>, and <section>. <body> is also kind of a sectioning element since all content lying inside of it ...
02:19 pm GMT - Tue, June 18, 2019
CSS Tricks If you can build a site with WordPress.com, you should build your site on WordPress.com.
Thats what I like to tell people. Ive seen too many websites die off, often damaging the company along the way because the technical debt of hosting and maintaining the website is too much in the long...
02:29 pm GMT - Mon, June 17, 2019
CSS Tricks Managing State in React using Unstated-Next
In a previous post, we saw how to manage state using Unstated. As you might recall, Unstated uses Reacts built-in setState to allow you create components that can consume state by subscribing to a pro...
01:57 pm GMT - Fri, June 14, 2019
CSS Tricks Components, yo.
I see VuePress just went 1.0. Explained simply, it's a static site generator based on Vue. But of course, you work in Vue, which means you work in components. All the modern JavaScript frameworks are ...
01:53 pm GMT - Fri, June 14, 2019
CSS Tricks Weekly Platform News: CSS Scroll Snap, Opera GX, PWA Install Icon
In this week's roundup, Chrome is adding an install option for Progressive Web Apps, Opera GX comes to Windows, the ECMAScript proposals get an update, and CSS Scroll Snap is coming to a Firefox brows...
02:17 pm GMT - Thu, June 13, 2019
CSS Tricks Drawing Realistic Clouds with SVG and CSS
Greek mythology tells the story of Zeus creating the cloud nymph, Nephele. Like other Greek myths, this tale gets pretty bizarre and X-rated. Heres a very abridged, polite version.Nephele, we are told...
02:16 pm GMT - Thu, June 13, 2019
CSS Tricks A11Y with Lindsey
Lindsey Kopacz has a wonderful blog about accessibility. I've seen a number of her articles making the rounds lately and I was like, dang I better make sure I'm subscribed. For example:An Introduction...
02:13 am GMT - Thu, June 13, 2019
CSS Tricks Grid, content re-ordering and accessibility
Take this:<ol> <li>Get hungry</li> <li>Order pizza</li> <li>Eat pizza</li></ol>That HTML ends up in the DOM that way (and thus how it...
02:07 pm GMT - Wed, June 12, 2019
CSS Tricks Using Cypress to Write Tests for a React Application
End-to-end tests are written to assert the flow of an application from start to finish. Instead of handling the tests yourself you know, manually clicking all over the application you can write a te...
02:27 pm GMT - Tue, June 11, 2019
CSS Tricks Everything You Need to Know About Date in JavaScript
Date is weird in JavaScript. It gets on our nerves so much that we reach for libraries (like Date-fns and Moment) the moment (ha!) we need to work with date and time.But we don't always need to use li...
12:45 pm GMT - Mon, June 10, 2019
CSS Tricks Level up your .sort game
Sorting is a super handy JavaScript method that can display the values of an array in a certain order. Whether thats real estate listings by price, burger joints by distance, or best nearby happy hour...
12:43 pm GMT - Mon, June 10, 2019
CSS Tricks Designing with Motifs
I love the way Erik Kennedy talks about digital design. Very practical and understandable. Have a listen to a chat with him we had on ShopTalk. One of his latest blog posts is titled "The #1 Way to Sp...
06:31 pm GMT - Fri, June 7, 2019
CSS Tricks Using DevTools to Improve the UX Design to Development Process
Id like to tell you how I see code and design intersect and support one another. Specifically, I want to cover how designers can use code in their everyday work. I suggest this not because its a requi...
02:27 pm GMT - Fri, June 7, 2019
CSS Tricks Weekly Platform News: Feature Policy, ECMAScript i18n API, Packaged PWAs
In this week's news, a new Feature Policy API in Chrome, Firefox blocks cookies from known trackers, Chrome for Android now allows websites to share images, and more.The post Weekly Platform News: Fea...
02:26 pm GMT - Fri, June 7, 2019
CSS Tricks Your first performance budget with Lighthouse
Ire Aderinokun writes about a new way to set a performance budget (and stick to it) with Lighthouse, Googles suite of tools that help developers see how performant and accessible their websites are: U...
10:00 pm GMT - Thu, June 6, 2019
CSS Tricks What if we got aspect-ratio sized images by doing almost nothing?
Say you have an image you're using in an <img> that is 800x600 pixels. Will it actually display as 800px wide on your site? It's very likely that it will not. We tend to put images into flexib...
02:21 pm GMT - Thu, June 6, 2019
CSS Tricks How to Use the Web Share API
The Web Share API is one that has seemingly gone under the radar since it was first introduced in Chrome 61 for Android. In essence, it provides a way to trigger the native share dialog of a device (o...
02:10 pm GMT - Thu, June 6, 2019
CSS Tricks Snag Resources from An Event Apart Boston 2019 and Save on Washington D.C. Registration
(This is a sponsored post.)Hey, so we talked a little bit about An Event Apart Boston 2019 leading up to the event and now there are a ton of resources available from it. I stopped counting the number...
11:17 pm GMT - Wed, June 5, 2019
CSS Tricks A Course About CSS Layout and Animations
Christina Gorton just released a new course called CSS Layout and Animations as a part of Design+Code, which is a $9/month. That includes a ton of video training on everything from stuff like this to ...
03:30 pm GMT - Wed, June 5, 2019
CSS Tricks JAMstack? More like SHAMstack.
I'm a fan of the whole JAMstack thing. It seems like a healthy web movement. I'm looking forward to both of the upcoming conferences. Of any web trend, #jamstack seems like it will be the least regret...
03:30 pm GMT - Wed, June 5, 2019
CSS Tricks Self-Host Your Static Assets
Harry Roberts digs into why hosting assets on someone elses servers (including CDNs) is not such a great idea if we want our websites to be lightning fast. Harry writes: One of the quickest winsand on...
08:07 pm GMT - Tue, June 4, 2019
CSS Tricks Movin Modals Along a Path
Modals always be just appearin'. You might see one once in a while that slides in from one of the edges, or uses some kind of scale/opacity thing to appear from "above" or "below." But we can get weir...
02:17 pm GMT - Tue, June 4, 2019
CSS Tricks Creating Animations Using React Spring
Have you ever needed animation in your React application? Traditionally, implementing animation has not an easy feat to accomplish. But now, thanks to Paul Henschel, we theres a new React tool just fo...
09:42 pm GMT - Mon, June 3, 2019
CSS Tricks Do you need an ICON ONLY button without screwing up the accessibility?
The first consideration is: do you really? If you can, having text next to your icons is proven over and over again to be the most accessible and clearest UX (see Apple's latest blunder). But if you n...
06:11 pm GMT - Mon, June 3, 2019
CSS Tricks Prevent Page Scrolling When a Modal is Open
Please stop me if you've heard this one before. You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened the modal.That's because modals are ...
02:15 pm GMT - Mon, June 3, 2019
CSS Tricks Material Theming: Making Material Your Own!
The web is a beautiful, expressive medium thats evolved over time as trends and technology have changed. Moments of delight and flair are what set companies apart from one another. At the same time, t...
11:07 pm GMT - Fri, May 31, 2019
CSS Tricks Implementing Private Variables In JavaScript
JavaScript (or ECMAScript) is the programming language that powers the web. Created in May 1995 by Brendan Eich, its found its place as a widely-used and versatile technology. Despite its success, its...
02:55 pm GMT - Fri, May 31, 2019
CSS Tricks Weekly Platform News: Favicon Guidelines, Accessibility Testing, Web Almanac
In this week's news, Google defines guidelines for favicons, a new a11y testing tool from The Paciello Group, and changes to how the W3C plans to engage the community, plus more.The post Weekly Platfo...
02:54 pm GMT - Fri, May 31, 2019
CSS Tricks Reducing motion with the picture element
Heres a bonafide CSS/HTML trick from Brad Frost and Dave Rupert where they use the <picture> element to switch out a GIF file with an image if the user has reduced motion enabled. This is how ...