Search

Nalezeno "SVG": 523

How to Change Animated GIF Speed


Comedians would tell you that timing is the most important part of any joke. The same could be said about animated GIFs; whether they’re used as a meme or to illustrate a process, the speed of an animated GIF can effect its effectiveness. With that idea in mind, I set about trying to figure...

prefers-color-scheme: CSS Media Query


One device and app feature I’ve come to appreciate is the ability to change between light and dark modes. If you’ve ever done late night coding or reading, you know how amazing a dark theme can be for preventing eye strain and the headaches that result. macOS recently implemented...

React indeterminate


I’ve fallen in love with React.js and JSX over the years; state-based rendering and a logical workflow have made me see the light of this modern framework. That doesn’t mean I don’t sometimes get a bit frustrated that the “simple” things seem harder than they should...

SVG Filter Effects: Outline Text with <feMorphology>


In this second part of our SVG Filter series you'll learn all about the feMorphology filter, how it works and how you can use it to create interesting effects. SVG Filter Effects: Outline Text with &lt;feMorphology&gt; was written by Sara Soueidan and published on Codrops

Freebie: Emojious Icons (AI, SVG, PNG)


A set of 50 vector icons from the quirky Emojious icon set exclusively for Codrops readers. Freebie: Emojious Icons (AI, SVG, PNG) was written by Emojious and published on Codrops

Amazing User Agent API with userstack


We do our best to design and code websites so that they look and perform the way they should regardless of device or browser, but the truth is we sometimes we need to code for specific device, browser, or crawler. Whether it&#8217;s a quick hack or a simply wanting to display different content...

Making Movies With amCharts


In this article, I want to show off the flexibility and real power of amCharts 4. We’re going to learn how to combine multiple charts that run together with animations that form a movie experience. Even if you’re only interested in creating a different kind of animation that has nothing to do with...

SVG Filters 101


The first article in a series on SVG filters. This guide will help you understand what they are and show you how to use them to create your own visual effects. SVG Filters 101 was written by Sara Soueidan and published on Codrops

Collective #481


SVG Gradient Map Filter * Fancy Function Parameters * Algorithms * Tap to Dismiss * WebsiteVoice Collective #481 was written by Pedro Botelho and published on Codrops

Ease-y Breezy: A Primer on Easing Functions


During the past few months, I’ve been actively teaching myself how to draw and animate SVG shapes. I’ve been using CSS transitions, as well as tools like D3.js, react-motion and GSAP, to create my animations. One thing about animations in general and the documentation these and other animation...

Making SVG icon libraries for React apps


Nicolas Gallagher: At Twitter I used the approach described here to publish the company’s SVG icon library in several different formats: optimized SVGs, plain JavaScript modules, React DOM components, and React Native components. There is no One True Way&#169; to make an SVG icon system. The only...

Creating an Animated Login Form for TouchID


I came across this amazing Dribbble shot by Jakub Reis a while back. It caught my eye and I knew that I just had to try recreating it in code. At that moment, I didn’t know how. I tried out a bunch of different things, and about a year later, I finally managed to make this demo. I learned a couple...

Accessible SVG Icons With Inline Sprites


This is a great look at accessible SVG markup patterns by Marco Hengstenberg. Here's the ideal example: &#60;button type="button"&#62; Menu &#60;svg class="svg-icon" role="img" height="10" width="10" viewBox="0 0 10 10" aria-hidden="true" focusable="false"&#62; ...

Solved with CSS! Logical Styling Based on the Number of Given Elements


This post is the third in a series about the power of CSS. Article Series: Colorizing SVG Backgrounds Dropdown Menus Logical Styling Based On the Number of Given Elements (this post) Did you know that CSS is Turing complete? Did you know that you can use it to do some pretty serious logical...

Collective #429


Shotsnapp * fakeScroll * SVG Pattern Doodler * Singlie * Generative WorldCup * Scrolling Gradient * ChartGen * React From Zero Collective #429 was written by Pedro Botelho and published on Codrops

How to create a logo that responds to its own aspect ratio


One of the cool things about &#60;svg&#62; is that it's literally its own document, so @media queries in CSS inside the SVG are based on its viewport rather than the HTML document that likely contains it. This unique feature has let people play around for years. Tim Kadlec experimented with...

Animate Calligraphy with SVG


From time to time at Stackoverflow, the question pops up whether there is an equivalent to the stroke-dashoffset technique for animating the SVG stroke that works for the fill attribute. But upon closer inspection, what the questions are really trying to ask is something like this: I have something...

Using Custom Fonts With SVG in an Image Tag


When we produce a PNG image, we use an &#60;img&#62; tag or a CSS background, and that's about it. It is dead simple and guaranteed to work. PNG is way simpler to use in HTML than SVG Unfortunately, the same cannot be said for SVG, despite its many advantages. Although you're spoiled for choices...

What is SVG good for?


Y'all probably wouldn't be surprised if I told you it's pretty awesome for icons, and icon systems. SVG icon systems can, and perhaps should be quite easy. I'm a fan of just inlining those suckers, particularly when they are pretty simple. But what else? Logos is a classic example! A lot...

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