Search

Nalezeno "SVG": 125

Bitcoin Stamps Surpass 18,000 Collectibles, Creativity Takes Center Stage


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)


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


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


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


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


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


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


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


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


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)


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


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


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?


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


Š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...

Collective #685


CookLang * Next.js 12 * Building an effective Image Component * Flatmap * Obsidian The post Collective #685 appeared first on Codrops

Grainy Gradients


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


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...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace