Search

Nalezeno "Properties": 298

The Dilemma of Naming Font Size Variables


Normally, a project will have a set of pre-determined font sizes, usually as variables named in such a way that seeks some semblance of order and consistency. Any project of considerable size can use something like that. There are always … The post The Dilemma of Naming Font Size Variables...

Positioning Overlay Content with CSS Grid


Not news to any web developer in 2021: CSS Grid is an incredibly powerful tool for creating complex, distinct two-dimensional modern web layouts. Recently, I have been experimenting with CSS Grid and alignment properties to create component layouts that … The post Positioning Overlay Content...

Custom Property Brain Twisters


I am part of that 82% that got the answer to Lea Verou's quiz wrong. Stephen Shaw posted a similar quiz as well and it's a fun exercise sharpen your CSS chops. The post Custom Property Brain Twisters appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter

“Weak declaration”


PPK looks at aspect-ratio, a CSS property for layout that, for the most part, does exactly what you would think it does. It’s getting more interesting as it’s behind a flag in Firefox and Safari now, so we’ll have … The post “Weak declaration” appeared first...

Upland Is Celebrating 1 Million NFT Properties Minted in the Metaverse


Upland has just hit a major milestone in their platform, and for the NFT landscape as a whole. Being one of the world’s fastest growing digital metaverses, Upland’s users have recently minted the millionth NFT property on the platform. Not long after being featured on CBS/Paramount...

Using the `outline` Property as a Collapsable Border


The outline property in CSS draws a line around the outside of an element. This is quite similar to the border property, the main exception being that outline isn’t a part of the box model. It is often used for … The post Using the `outline` Property as a Collapsable Border appeared first...

Celebrating Upland’s Genesis Week With a Big Bitcoin Giveaway


Upland.me is a blockchain-based game in which users can buy, sell, and trade virtual NFT properties mapped to the real world. By becoming a digital landowner, users can build properties, earn UPX coins, and even cash out their gains to USD. Currently open in cities including NYC, San Francisco...

Why On-Chain Governance Is Critical for Blockchain Growth and Longevity


The decentralized properties that make blockchain architecture unique can also be its Achilles heel, demonstrating the importance of bringing network governance on-chain to promote a more inclusive and democratized consensus on network upgrades. Governance Transformation Is the Key To Unlocking...

Are Custom Properties a “Menu of What Will Change”?


PPK laid out an interesting situation in “Two options for using custom properties” where he and Stefan Judis had two different approaches for doing the same thing with custom properties. In one approach, hover and focus styles for a … The post Are Custom Properties a “Menu...

JSON in CSS


Jonathan Neal tweeted a heck of a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. Valid values for custom properties are quite liberal! So this looks for a CSS rule (e.g. a … The post JSON in CSS appeared first on CSS-Tricks. You can support...

Custom State Pseudo-Classes in Chrome


There is an increasing number of “custom” features on the web platform. We have custom properties (--my-property), custom elements (<my-element>), and custom events (new CustomEvent('myEvent')). At one point, we might even get custom media … The post Custom State Pseudo-Classes...

Is Vendor Prefixing Dead?


Let‘s take a quick stroll down memory-lane to revisit how vendor prefixing CSS properties came to be. I hope I don’t trigger PTSD for anyone! It‘s not clear who started prefixing, or when it began exactly. What is clear, is … The post Is Vendor Prefixing Dead? appeared first...

Dynamic CSS Masks with Custom Properties and GSAP


Learn how to animate CSS masks based on the cursor position using GSAP and custom properties for a unique spotlight effect. The post Dynamic CSS Masks with Custom Properties and GSAP appeared first on Codrops

Safari 14.1 Adds Support for Flexbox Gaps


Yay, it’s here! Safari 14.1 reportedly adds support for the gap property in flexbox layouts. We’ve had grid-gap support for some time, but true to its name, it’s limited to grid layouts. Now we can use gap in either type … The post Safari 14.1 Adds Support for Flexbox Gaps...

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