Search

Nalezeno "codes": 67

Responsible JavaScript


High five to Jeremy on the big release of Responsible JavaScript on A Book Apart. There is a lot of talk about how the proliferation of JavaScript has had a negative impact on the web, but now we have … The post Responsible JavaScript appeared first on CSS-Tricks. You can support CSS-Tricks...

You want enabling CSS selectors, not disabling ones


I think this is good advice from Silvestar Bistrović: An enabling selector is what I call a selector that does a job without disabling the particular rule. The classic example is applying margin to everything, only to have to remove … The post You want enabling CSS selectors, not disabling...

Swipey Image Grids


I hope people think of SVG as a vector format that is good for drawing things. There is plenty more to know, but here’s one more: SVG is good for composition. You draw things at very specific coordinates … The post Swipey Image Grids appeared first on CSS-Tricks. You can support...

Crypto Thrills Casino | Claim 1,000mBTC Welcome Bonus


Crypto Thrills Online Casino Review 2021 WinBtc Exclusive Bonus: “150 Free Spins on the Cash King & 250% Deposit Bonus up to 1 BTC”. The codes are: WIN150 & WIN250 We are ecstatic to add Crypto Thrills Online Casino to our list of the best Bitcoin casinos USA! We have had...

How to Prevent Pasting into an Input


Every once in a while I get to a website that doesn’t allow me to paste into a form input. In most cases it’s something to do with login credentials (username and or password) and auth codes. So how are they preventing me from pasting information? It’s as easy as you’d...

Using JavaScript to Adjust Saturation and Brightness of RGB Colors


Lately I’ve been taking a look into designing with color (or “colour” as we spell it where I’m from in New Zealand). Looking at Adam Wathan and Steve Schroger’s advice on the subject, we find that we’re going to need more than just five nice looking hex codes from a color palette...

A CSS-only, animated, wrapping underline


Nicky Meuleman, inspired by Cassie Evans, details how they built the anchor link hover on their sites. When a link is hovered, another color underline kinda slides in with a gap between the two. Typical text-decoration doesn’t help here, so multiple backgrounds are used instead,...

Making lil’ me


Cassie Evans made a lovely illustration of herself and then used Greensock to add a flourish of animations to polish it off. Cassie wrote a series of posts about how she did it: In this post we’ll cover how to get values from the mouse movement and plug them into an animation. This is...

A Book Apart Turning 10


Early congratulations, A Book Apart! That’s a hell of a milestone. I’m quite sure I’ve read more A Book Apart books than any other tech book publisher. Katel LeDu runs the ship over there, and she’s given me very special pack of discount codes that will get you my book...

The Best Color Functions in CSS?


I've said before that HSL is the best color format we have. Most of us aren't like David DeSandro, who can read hex codes. HSL(a) is Hue, Saturation, Lightness, and alpha, if we need it. hsl(120, 100%, 40%) Hue isn't intuitive, but it's not that weird. You take a trip around the color wheel from...

Masking GIFs with other GIFs


The other day, Cassie Evans tweeted a really neat trick that I’ve never seen before: using SVG to mask one GIF on top of another. The effect is quite lovely, especially if you happen to grab a colorful GIF and place it on top of a monochrome one:  See the Pen Masking gifs with other gifs......

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