Search

Nalezeno "shape": 177

Creating CSS Shapes with Emoji


CSS Shapes is a standard that lets us create geometric shapes over floated elements that cause the inline contents — usually text — around those elements to wrap along the specified shapes. Such a shaped flow of text looks good in editorial designs or designs that work with text-heavy contents...

Morphing SVG With react-spring


I’ve been intrigued by the morphing effect ever since I was a little kid. There’s something about a shape-shifting animation that always captures my attention. The first time I saw morphing left me wondering  “ Wow, how did they do that?” Since then, I’ve created demos and written an article about...

Ayn Rand: Francisco d’Anconia’s Speech on Money


“So you think that money is the root of all evil?” said Francisco d’Anconia. “Have you ever asked what is the root of money? Money is a tool of exchange, which can’t exist unless there are goods produced and men able to produce them. Money is the material shape of...

Bitcoiners Ask: ‘WTF Happened In 1971?’ The Answer Might Shape The 2020s


In 1971, the United States left the gold standard. Now, some people – particularly Bitcoiners – believe that the US and wider global population has largely suffered as a result. The government can print USD at will, in the process causing the kind of inflation that reduces the general population’s...

Collective #609


Frontend Mentor Challenges * Shape Divider App * :is() and :where() * No Design Development * HTML5 Boilerplate 8.0.0 The post Collective #609 appeared first on Codrops

Creating an Accessible Range Slider with CSS


The accessibility trick is using <input type="range"> and wrestling it into shape with CSS rather than giving up and re-building it with divs or whatever and later forget about accessibility. The most clever example uses an angled linear-gradient background making the input look like...

Using CSS to Set Text Inside a Circle


You want to set some text inside the shape of a circle with HTML and CSS? That’s crazy talk, right? Not really! Thanks to shape-outside and some pure CSS trickery it is possible to do exactly that.  However, this can be a fiddly layout option. We have to take lots of different things into...

Data-driven Jamstack with Sourcebit


Think of building sites with Gatsby as an hourglass shape. Gatsby itself is right in the middle. The wide funnel at the top represents the fact that Gatsby can take in data from all sorts of sources. The data could be in markdown files, from a headless CMS or some other API, from a hosted database...

A Trick That Makes Drawing SVG Lines Way Easier


When drawing lines with SVG, you often have a <path> element with a stroke. You set a stroke-dasharray that is as long as the path itself, as well as a stroke-offset that extends so far that you that it's initially hidden. Then you animate the stroke-offset back to 0 so you can watch...

New Year, New Job? Let’s Make a Grid-Powered Resume!


Many popular resume designs are making the most of the available page space by laying sections out in a grid shape. Let’s use CSS Grid to create a layout that looks great when printed and at different screen sizes. That way, we can use the resume online and offline, which might come in handy during...

Query JSON documents in the Terminal with GROQ


JSON documents are everywhere today, but they are rarely structured the way you want them to be. They often include too much data, have weirdly named fields, or place the data in unnecessary nested objects. Graph-Relational Object Queries (GROQ) is a query language (like SQL, but different) which...

Russia's Crypto Law is Taking a Confusing Shape


A Russian newspaper says it has seen a copy of the much-awaited draft law "On Digital Financial Assets" – a piece of legislation that might decide the fate of cryptocurrencies in the country. However, local experts do not agree what this draft means exactly. RBC states that "two sources familiar...

Float Element in the Middle of a Paragraph


Say you want to have an image (or any other element) visually float left into a paragraph of text. But like... in the middle of the paragraph, not right at the top. It's doable, but it's certainly in the realm of CSS trickery! One thing you can do is slap the image right in the middle of...

Real-time Multiside Refraction in Three Steps


In this tutorial you will learn how to make objects appear glass-like in three steps using Three.js. Real-time Multiside Refraction in Three Steps was written by Jesper Vos and published on Codrops

5 of the Best Crypto Swapping Services


Creating an exchange account, signing in and placing an order every time you want to switch cryptos is like using a sledgehammer to crack a walnut. It’s an incredibly inefficient way to jump between cryptos, and given that no exchange has all the coins, it necessitates creating multiple...

The Many Ways to Link Up Shapes and Images with HTML and CSS


Different website designs often call for a shape other than a square or rectangle to respond to a click event. Perhaps your site has some kind of tilted or curved banner where the click area would be awkwardly large as a straight rectangle. Or you have a large uniquely shaped logo where you only...

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