Writing Strong Front-end Test Element Locators

Automated front-end tests are awesome. We can write a test with code to visit a page — or load up just a single component — and have that test code click on things or type text like a user would, …

Writing Strong Front-end Test Element Locators originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/front-end-test-element-locators/

3y | CSS tricks
Adding Tailwind CSS to New and Existing WordPress Themes

In the 15 or so years since I started making WordPress websites, nothing has had more of an impact on my productivity — and my ability to enjoy front-end development — than adding Tailwind CSS to my workflow (and it …

Adding Tailwind CSS to New and Existing WordPress Themes originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/adding-tailwind-css-to-wordpress-themes/

3y | CSS tricks
Making Mermaid Diagrams in Markdown

Mermaid diagrams and flowcharts have been gaining traction, especially with GitHub’s announcement that they are natively supported in Markdown. Let’s take a look at what they are, how to use them, and just as importantly: why. Just like you …

Making Mermaid Diagrams in Markdown originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/making-mermaid-diagrams-in-markdown/

3y | CSS tricks
Add a CSS Lens Flare to Photos for a Bright Touch

I’m a big fan of movies by J.J. Abrams. I enjoy their tight plots, quippy dialog, and of course: anamorphic lens flares. Filmmakers like Abrams use lens flare to add a dash of ‘homemade’ realism to their movies, …

Add a CSS Lens Flare to Photos for a Bright Touch originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/add-a-css-lens-flare-to-photos-for-a-bright-touch/

3y | CSS tricks
Adding CDN Caching to a Vite Build

Content delivery networks, or CDNs, allow you to improve the delivery of your website’s static resources, most notably, with CDN caching. They do this by serving your content from edge locations, which are located all over the world. When a …

Adding CDN Caching to a Vite Build originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/adding-cdn-caching-to-a-vite-build/

3y | CSS tricks
Tricks to Cut Corners Using CSS Mask and Clip-Path Properties

We recently covered creating fancy borders with CSS mask properties, and now we are going to cut the corners with CSS mask and clip-path! A lot of techniques exist to cut different shapes from the corners of any element. …

Tricks to Cut Corners Using CSS Mask and Clip-Path Properties originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/cut-corners-using-css-mask-and-clip-path-properties/

3y | CSS tricks
6 Useful Bookmarklets to Boost Web Development

A bookmarklet is a JavaScript-based bookmark that adds to a web browser. I’d like to show you some awesome web browser hacks to aid your web development workflow and how to convert those hacks into time-saving bookmarklets.

Activating design mode

6 Useful Bookmarklets to Boost Web Development originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/web-development-bookmarklets/

3y | CSS tricks
Write HTML, the HTML Way (Not the XHTML Way)

You may not use XHTML (anymore), but when you write HTML, you may be more influenced by XHTML than you think. You are very likely writing HTML, the XHTML way. What is the XHTML way of writing HTML, and what …

Write HTML, the HTML Way (Not the XHTML Way) originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/write-html-the-html-way-not-the-xhtml-way/

3y | CSS tricks
Optimizing SVG Patterns to Their Smallest Size

I recently created a brick wall pattern as part of my #PetitePatterns series, a challenge where I create organic-looking patterns or textures in SVG within 560 bytes (or approximately the size of two tweets). To fit this constraint, I have …

Optimizing SVG Patterns to Their Smallest Size originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/optimizing-svg-patterns/

3y | CSS tricks
CSS-Tricks is joining DigitalOcean!

Hey hey! I’ve got a big announcement to make here. (Where’s my gong? I feel like this really needs a good gong hit.) CSS-Tricks, this very website you’re looking at, has been acquired by DigitalOcean! You can hear …

CSS-Tricks is joining DigitalOcean! originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/css-tricks-is-joining-digitalocean/

3y | CSS tricks

Search