CSS :placeholder-shown
4.2.2019
One of the first plugins that would hit a new framework in the early days of JavaScript frameworks was a placeholder plugin, which is why we were so excited when HTML5 brought us the placeholder attribute. Then CSS lovers like me were thrilled when the CSS spec allowed us to style placeholders....
Inspirational Websites Roundup #1
4.2.2019
The first edition of a new series that aims to showcase inspirational website designs.
Inspirational Websites Roundup #1 was written by Mary Lou and published on Codrops
The Ultimate Guide to JavaScript Algorithms: Palindromes
4.2.2019
In this challenge we further strengthen our string manipulation skills by implementing simple algorithms to test if a string of text is a palindrome.
What is a palindrome?
React’s Experimental Suspense API Will Rock for Fallback UI During Data Fetches
2.2.2019
Most web applications built today receive data from an API. When fetching that data, we have to take certain situations into consideration where the data might not have been received. Perhaps it was a lost connection. Maybe it was the endpoint was changed. Who knows. Whatever the issue, it's...
Well, Typetura seems fun
1.2.2019
I came across this update from Scott Kellum's and Sal Hernandez's project Typetura via my Medium feed this morning, and what a delight?!
(Also, wow, I really have been out of the game for a minute.)
Typetura.js is a fluid design solution, for any property, based on any input. It’s not for just...
How do you figure?
1.2.2019
Scott O'Hara digs into the <figure> and <figcaption> elements. Gotta love a good ol' HTML deep dive.
I use these on just about every blog post here on CSS-Tricks, and as I've suspected, I've basically been doing it wrong forever. My original thinking was that a figcaption was just...
Using Artificial Intelligence to Generate Alt Text on Images
1.2.2019
Web developers and content editors alike often forget or ignore one of the most important parts of making a website accessible and SEO performant: image alt text. You know, that seemingly small image attribute that describes an image:
<img src="/cute/sloth/image.jpg" alt="A brown baby sloth...
WDRL — Edition 256: Safari 12.1, Chrome 72, PHP 7 performance, Sourcemaps in production and Maintaining large JavaScript codebases.
1.2.2019
Hey,
We need to act now to save our human living. It doesn’t matter that others don’t care, we as individuals need to make sure that we do everything we can to prevent our climate to go over into high-fever state (which is about 10 years away). It upon us to show companies that they need to...
Collective #488
31.1.2019
Simulating blobs of fluid * THREE.Phenomenon * socialsizes.io * WebAudio Polyphonic Synthesizer
Collective #488 was written by Pedro Botelho and published on Codrops
The Many Ways to Change an SVG Fill on Hover (and When to Use Them)
31.1.2019
SVG is a great format for icons. Vector formats look crisp and razor sharp, no matter the size or device — and we get tons of design control when using them inline.
SVG also gives us another powerful feature: the ability to manipulate their properties with CSS. As a result, we can make quick...
Forms that Move With You with Wufoo
31.1.2019
I've been into the idea of JAMstack lately. In fact, it was at the inaugural JAMstack_conf that I gave a talked called The All-Powerful Font-End Developer. My overall point there was that there are all these services that we can leverage as front-end developers to build complete websites without...
Set Desktop Wallpaper from Command Line on Mac
31.1.2019
Whenever I need to accomplish a basic task that typically calls for interacting with a UI, I challenge myself to complete the task from command line. After all, most UIs are simply a mask over basic commands, especially when it comes to the operating system. Suddenly I feel like an automation...