Search
Bitcoin Stamps Surpass 18,000 Collectibles, Creativity Takes Center Stage
22.4.2023
With the latest non-fungible token (NFT) trend on the Bitcoin blockchain, known as Bitcoin Stamps, users have issued more than 18,000 digital collectibles on the network. While this figure falls short of the number of Ordinal inscriptions, stamp creators are exploring new ways to leverage this...
6 Common SVG Fails (and How to Fix Them)
17.1.2023
Someone recently asked me how I approach debugging inline SVGs. Because it is part of the DOM, we can inspect any inline SVG in any browser DevTools. And because of that, we have the ability to scope things out and …
6 Common SVG Fails (and How to Fix Them) originally published...
How to Control CSS Animations with JavaScript
27.12.2022
When it comes to animations on the web, developers need to measure the animation’s requirements with the right technology — CSS or JavaScript. Many animations are manageable with CSS but JavaScript will always provide more control. With document.getAnimations, however, you can...
Responsive Animations for Every Screen Size and Device
20.10.2022
Before I career jumped into development, I did a bunch of motion graphics work in After Effects. But even with that background, I still found animating on the web pretty baffling.
Video graphics are designed within a specific ratio and …
Responsive Animations for Every Screen Size and Device...
How I Made an Icon System Out of CSS Custom Properties
22.9.2022
SVG is the best format for icons on a website, there is no doubt about that. It allows you to have sharp icons no matter the screen pixel density, you can change the styles of the SVG on hover …
How I Made an Icon System Out of CSS Custom Properties originally published on CSS-Tricks, which...
How stroke-dasharray Patterns Work
15.7.2022
Say you have a line in SVG:
<svg<line x1="0" y1="30" x2="500" y2="30" stroke-color="#f8a100" /</svg
You can use the stroke-dasharray property in CSS to make dashes:
line {
stroke-dasharray: 5;
}
That 5 value is a relative unit based …
How stroke-dasharray Patterns...
Mastering SVG’s stroke-miterlimit Attribute
24.5.2022
So, SVG has this stroke-miterlimit presentation attribute. You’ve probably seen it when exporting an SVG from a graphic editor program, or perhaps you find out you could remove it without noticing any change to the visual appearance.
After a good …
Mastering SVG’s stroke-miterlimit...
Optimizing SVG Patterns to Their Smallest Size
18.3.2022
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...
7 Fresh Links on Performance For March 2022
2.3.2022
I have a handful of good links to articles about performance that are burning a hole in my bookmarks folder, and wanna drop them here to share.
The new WebPageTest website design
From fonts to SVG: an icon migration strategy
…
7 Fresh Links on Performance For March 2022 originally...
SVGcode for “Live Tracing” Raster Images
9.2.2022
Say you have a bitmap graphic — like a JPG, PNG, or GIF — and you wish it was vector, like SVG. What do you do? You could trace it yourself in some kind of design software. Or tools within …
SVGcode for “Live Tracing” Raster Images originally published on CSS-Tricks. You should...
Using SVG in WordPress (2 Helpful Plugin Recommendations)
21.1.2022
SVG is a great image format, so it's nice to able to use it in WordPress. If you're looking to be using SVG in WordPress. , we've got you covered here with all the best options.
Using SVG in WordPress (2 Helpful Plugin Recommendations) originally published on CSS-Tricks. You should get...
Animate Anything Along an SVG Path
19.1.2022
Learn how to code creative animations using SVG paths and the getPointAtLength() function.
The post Animate Anything Along an SVG Path appeared first on Codrops
Fractional SVG stars with CSS
2.12.2021
Some ⭐️⭐️⭐️⭐️⭐️ star rating systems aren’t always exactly even stars. Say you want to support rating something 2.25 stars. To do that you could “fill” the shape of the stars partially. I like this idea by Samuel...
Which SVG technique performs best for way too many icons?
23.11.2021
Tyler Sticka digs in here in the best possible way: by making a test page and literally measuring performance. Maybe 1,000 icons is a little bit of an edge case, but hey, 250 rows of data with four icons in …
The post Which SVG technique performs best for way too many icons? appeared first...
Favicons: How to Make Sure Browsers Only Download the SVG Version
5.11.2021
Šime Vidas DM’d me the other day about this thread from subzey on Twitter. My HTML for favicons was like this:
<!-- Warning! Typo! --<link rel="icon" href="/favicon.ico" size="any"<link rel="icon" href="/favicon.svg" type="image/svg+xml"
The attribute size is a typo there...
SVG Overlay and Infinite Menu Background Animation
2.11.2021
A little menu effect with an SVG overlay and an infinite background CSS animation.
The post SVG Overlay and Infinite Menu Background Animation appeared first on Codrops
SVG Overlay and Infinite Menu Background Animation
2.11.2021
A little menu effect with an SVG overlay and an infinite background CSS animation.
The post SVG Overlay and Infinite Menu Background Animation appeared first on Codrops
Collective #685
28.10.2021
CookLang * Next.js 12 * Building an effective Image Component * Flatmap * Obsidian
The post Collective #685 appeared first on Codrops
Grainy Gradients
13.9.2021
Browse through Dribbble or Behance, and you’ll find designers using a simple technique to add texture to an image: noise. Adding noise makes otherwise solid colors or smooth gradients, such as shadows, more realistic. But despite designers’ affinity for texture, …
The post Grainy Gradients...
How I Made a Generator for SVG Loaders With Sass and SMIL Options
26.8.2021
While learning Vue.js, I started building free web tools that involved the exploration of SVG, with the goal of learning something about both! Let’s take a look at one of those tools: a generator that makes SVG loaders and …
The post How I Made a Generator for SVG Loaders With Sass and SMIL...