Search

Nalezeno "the shadow": 420

Getting Deep into Shadows


Let’s talk shadows in web design. Shadows add texture, perspective, and emphasize the dimensions of objects. In web design, using light and shadow can add physical realism and can be used to make rich, tactile interfaces. Take the landing page … The post Getting Deep into Shadows appeared...

Collective #649


Penpot * SmolCSS * Remotion * Building a Tabs component * Managing focus in the shadow DOM The post Collective #649 appeared first on Codrops

Cyber Shadow Is Another Fantastic Homage To Classic NES Games


What 2D side-scroller Cyber Shadow is missing in personality it makes up for with amazing visuals and action sequences that challenge your timing and reflexes without ever feeling tedious or cheap. I’ve been loving my time with its pastiche of classic NES games, even if, so far, its story hasn’t...

Simulating Drop Shadows with the CSS Paint API


Ask a hundred front-end developers, and most, if not all, of them will have used the box-shadow property in their careers. Shadows are enduringly popular, and can add an elegant, subtle effect if used properly. But shadows occupy a strange … The post Simulating Drop Shadows with the...

“I Don’t Know”


I’ve learned to be more comfortable not knowing. “I don’t know”, comes easier now. “I don’t know anything about that.” It’s okay. It feels good to say. Whether it’s service workers, Houdini, shadow DOM, web components, HTTP2, CSS grid, “micro-front ends”, AVIF… there are many paths before...

The Original Fire Emblem Is A Weird Game For The Switch To End Its Year On


I’ve spent the last week, in odd moments here and there, helping Fire Emblem’s Prince Marth search for a legendary sword and defeat the forces of darkness to rescue his kingdom from an evil wizard. Throughout all of it, in good times and bad, one question kept bubbling up to the surface: why?Read...

Global CSS options with custom properties


With a preprocessor, like Sass, building a logical “do this or don’t” setting is fairly straightforward: $option: false; @mixin doThing { @if $option { do-thing: yep; } } .el { @include doThing; } Can we do that in native CSS with custom properties? Mark Otto shows...

Creating Playful Effects With CSS Text Shadows


Let’s have a look at how we can use the CSS text-shadow property to create truly 3D-looking text. You might think of text-shadow as being able to apply blurred, gradient-looking color behind text, and you would be right! But just like box-shadow, you can control how blurred the shadow is, including...

Styling in the Shadow DOM With CSS Shadow Parts 


Safari 13.1 just shipped support for CSS Shadow Parts. That means the ::part() selector is now supported in Chrome, Edge, Opera, Safari, and Firefox. We’ll see why it’s useful, but first a recap on shadow DOM encapsulation… The benefits of shadow DOM encapsulation I work at giffgaff where we have...

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