Search

Nalezeno "elements": 326

Streaming Optimized Videos From AWS S3 in Minutes


(This is a sponsored post.) Videos appeal to humans in a way no other form of the content does. A video includes motion, music, still images, text, speech, and a few other elements, all of which combine to deliver …

Fixing the Drift in Shape Rotations


Steve Ruiz calls this post an “extra-obscure edition of design tool micro-UX,” but I find it fascinating! If you select a bunch of elements in a design tool, then rotate then, then later select those same elements and try to … The post Fixing the Drift in Shape Rotations appeared...

Less Absolute Positioning With Modern CSS


Ahmad Shadeed blogs the sentiment that we might not need to lean on position: absolute as much as we might have in the past. For one thing: stacking elements. For example, if you have a stack of elements that should … The post Less Absolute Positioning With Modern CSS appeared first...

Scroll Shadows With JavaScript


Scroll shadows are when you can see a little inset shadow on elements if (and only if) you can scroll in that direction. It’s just good UX. You can actually pull it off in CSS, which I think is … The post Scroll Shadows With JavaScript appeared first on CSS-Tricks. You can support...

Animation Techniques for Adding and Removing Items From a Stack


Animating elements with CSS can either be quite easy or quite difficult depending on what you are trying to do. Changing the background color of a button when you hover over it? Easy. Animating the position and size of an … The post Animation Techniques for Adding and Removing Items From...

Playing Genshin Impact's Last Update As Its Villain Was Eye-Opening


I’ve been building up my Raiden Shogun character so that I could use her to clear Genshin Impact’s latest chapter. She’s the main antagonist of the game’s Inazuma region, so I thought it would be interesting to attack and dethrone god using god herself. Read more

7 Practical Uses for the ::before and ::after Pseudo-Elements in CSS


CSS ::before and ::after pseudo-elements allow you to insert “content” before and after any non-replaced element (e.g. they work on a <div> but not an <input>). This effectively allows you to show something on a web page that might … The post 7 Practical Uses...

On the `dl`


Blogging about HTML elements¹? *chefs kiss* Here’s Ben Myers on the (aptly described) “underrated” Definition List (<dl>) element in HTML: You might have also seen lists of name–value pairs to describe lodging amenities, or to list … The post On the `dl` appeared...

Firefox’s `bolder` Default is a Problem for Variable Fonts


Variable fonts make it easy to create a large set of font styles from a single font file. Unfortunately, the default rendering of the <b> and <strong> elements in browsers today is not very compatible with the wide range of … The post Firefox’s `bolder` Default is a Problem...

CSS Pseudo Commas


A bonafide CSS trick if there ever was one! @ShadowShahriar created a CodePen demo that uses pseudo-elements to place commas between list items that are displayed inline, and the result is a natural-looking complete sentence with proper punctuation. CodePen Embed… The post CSS Pseudo Commas...

Layout with Reveal Animations and Content Preview


Some experimental reveal animations on typographic elements as repeating pattern for a website design. The post Layout with Reveal Animations and Content Preview appeared first on Codrops

:nth-child Between Two Fixed Indexes


I needed to select some elements between two fixed indexes the other day — like literally the second through fifth elements. Ironically, I have a whole post on “Useful :nth-child Recipes” but this wasn’t one of them. The answer, it … The post :nth-child Between Two Fixed...

Using Custom Elements in Svelte


Svelte fully supports custom elements (e.g. <my-component>) without any custom configuration or wrapper components and has a perfect score on Custom Elements Everywhere. However, there are still a few quirks you need to watch out for, especially around … The post Using Custom...

Always Show Arrows for Number Input


While I enjoy small details that make user interfaces more elegant, I also believe that less is more, especially when it comes to native behavior. One native behavior I dislike is that <input type="number" /> elements only show the increment and decrement arrows when the input is focused....

Star Wars: The Bad Batch Has A Great Fallen Order Moment


Disney, the ultimate experts in brand tie-ins, did something very specific last Friday that stood out to anyone who has played Respawn’s terrific Star Wars Jedi: Fallen Order game. To go along with the announcement that Fallen Order will get an upgrade for the PS5 and Xbox Series X, Star Wars:...

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