Search

Nalezeno "Elements": 316

Worlds Collide: Keyframe Collision Detection Using Style Queries


Interactive CSS animations with elements ricocheting off each other seem more plausible in 2025. While it’s unnecessary to implement Pong in CSS, the increasing flexibility and power of CSS reinforce Lee's suspicion that one day it will be a lifestyle choice whether to achieve any given effect with...

Using & Styling the Details Element


Now that we're 5+ years into , we know more about it than ever before. I thought I'd round that information up so it's in one place I can reference in the future without having to search the site — and other sites — to find it. Using & Styling the Details Element originally published...

Positioning Text Around Elements With CSS Offset


When it comes to positioning elements on a page, including text, there are many ways to go about it in CSS — the literal position property with corresponding inset-* properties, translate, margin, anchor() (limited browser support at the moment), and so forth. The offset property is another...

Solving Background Overflow With Inherited Border Radii


One of the interesting (but annoying) things about CSS is the background of children’s elements can bleed out of the border radius of the parent element. Here’s an example of a card with an inner element. If the inner element … Solving Background Overflow With Inherited Border Radii...

Green Lantern HBO Show Makes Rebel Ridge Star Its John Stewart


HBO’s Green Lantern show has cast its John Stewart. Aaron Pierre, the retired Marine seeking justice in Netflix’s Rebel Ridge, will star in Lanterns alongside Friday Night Lights coach Kyle Chandler as the comic book detective show begins to take shape. Read more

CSS Anchor Positioning Guide


Learn about CSS Anchor Positioning, including its syntax, properties, how it is used to position one element next to another, and even how it's used to resize elements relative to other elements. CSS Anchor Positioning Guide originally published on CSS-Tricks, which is part of the DigitalOcean...

Time Travelling CSS With :target


Checkbox and radio button hacks are the (in)famous trick for creating games using just CSS. But it turns out that other elements based on user input can be hacked and gamified. There are very cool examples of developers getting creative with CSS...

Sticky Headers And Full-Height Elements: A Tricky Combination


Quite a fun article I worked on with Philip Braunen. Do you know that little bit of elasticity you get when scrolling beyond the viewport when browsing the web on a mobile device? iPhone calls it a “rubber-banding” effect. … Sticky Headers And Full-Height Elements: A Tricky...

How To Strike Gold Ore In Once Human


Many of the late-game crafting recipes you’ll encounter in Once Human require rare materials that only stem from high-level zones. For instance, Gold. It’s one of the most lucrative materials in the game, but also highly necessary to produce end-game equipment to take down Great Ones.Read more

CSS Selectors


A complete guide covering all of the various methods we have to select elements in CSS and how to use them for applying styles. CSS Selectors originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter

CSS Container Queries


The main idea of CSS Container Queries is to register an element as a “container” and apply styles to other elements when the container element meets certain conditions. CSS Container Queries originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...

CSS Length Units


A comprehensive guide covering nine types of lengths that CSS uses to size elements in terms of dimensions, space, time, and even sound. CSS Length Units originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter

The Glenlivet Distillery Utilizes NFTs and AI to Market $43,000 Whisky


Scotland-based distillery The Glenlivet is using NFTs and AI in its marketing strategy to sell whiskey from a 50-year-old collection. The Glenlivet announced on Monday it was planning to auction off the bottles, which have been maturing at its Speyside distillery in Scotland since 1974. Discover...

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