Search

Nalezeno "Center": 472

Navbar Nudging on @keyframers


I got to be the featured guest over on The Keyframers the other day. We looked at a Dribbble shot by Björgvin Pétur Sigurjónsson and then slowly built it, taking some purposeful detours along the way to discuss various tech. We start by considering doing it entirely in CSS, then go for some light...

China Publishes New Rankings of 37 Crypto Projects


China’s Center for Information and Industry Development has published its latest crypto rankings. Thirty-seven projects have been evaluated and ranked overall as well as in three separate categories. Some favorites have changed and two projects have been added to the previous list of projects...

The Twelfth Fourth


CSS-Tricks is 12 years old! Firmly into that Early Adolescence stage, I'd say ;) As we do each year, let's reflect upon the past year. I'd better have something to say, right? Otherwise, John Prine would get mad at me. How the hell can a person go to work in the morning And come home in...

Making width and flexible items play nice together


The short answer: flex-shrink and flex-basis are probably what you’re lookin’ for. The long answer Let’s say you want to align an image and some text next to each other with like this: Now let's say you reach for flexbox to make it happen. Setting the parent element to display: flex; is a good...

Different Approaches for Creating a Staggered Animation


Animating elements, at its most basic, is fairly straightforward. Define the keyframes. Name the animation. Call it on an element. But sometimes we need something a little more complex to get the right “feel" for the way things move. For example, a sound equalizer might use the same animation...

Different Approaches for Creating a Staggered Animation


Animating elements, at its most basic, is fairly straightforward. Define the keyframes. Name the animation. Call it on an element. But sometimes we need something a little more complex to get the right “feel" for the way things move. For example, a sound equalizer might use the same animation...

PR: Anxone Provides Multi-Layer Security For Crypto Storage


Hacking is a front and center issue for digital asset exchanges. Especially given its worrying year-over-year increases, from US$152mn in 2016 to US$950mn in 2018. Our current year 2019 has already posted over US$1bn in lost assets due to hacking, which puts security as a paramount consideration...

Movin’ Modals Along a Path


Modals always be just appearin'. You might see one once in a while that slides in from one of the edges, or uses some kind of scale/opacity thing to appear from "above" or "below." But we can get weirder than that. Why not have them come in on an offset-path? Just a swoopy arc is kinda fun. ...

Prevent Page Scrolling When a Modal is Open


Please stop me if you've heard this one before. You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened the modal. That's because modals are elements on a page just like any other. It may stay in place (assuming that's what it's meant...

China Releases New Crypto Rankings


China’s Center for Information and Industry Development has released its latest rankings of 35 crypto projects that were evaluated over the past two months. While several top positions remain unchanged, Bitcoin has climbed up the overall ranking. Also read: Indian Supreme Court Postpones...

The “Inside” Problem


So, you're working on a design. You need a full-width container element because the design has a background-color that goes from edge-to-edge horizontally. But the content inside doesn’t necessarily need to be edge-to-edge. You want to: Limit the width (for large screens) Pad the edges Center...

Change Color of SVG on Hover


There are a lot of different ways to use SVG. Depending on which way, the tactic for recoloring that SVG in different states or conditions — :hover, :active, :focus, class name change, etc. — is different. Let's look at the ways. Inline SVG Inline SVG is my favorite way to use...

Russian Prosecutors Fail to Block Crypto Website


A court case in Russia has signaled a change in the attitude authorities have towards the cryptocurrency space, at least on first glance. An online portal helping traders find the best exchange options for their digital assets will be allowed to restore normal operations. That’s after...

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