Search

Nalezeno "product": 1809

Monorepo


I’m not exactly a large-scale DevOps guy, but I can tell ya we’ve been moving back toward a monorepo at CodePen and it’s rife with advantages over a system with lots of smaller repos. For us, I mean. It’s … The post Monorepo appeared first on CSS-Tricks. You...

Re-Creating the Porky Pig Animation from Looney Tunes in CSS


You know, Porky Pig coming out of those red rings announcing the end of a Looney Tunes cartoon. We’ll get there, but first we need to cover some CSS concepts. Everything in CSS is a box, or rectangle. Rectangles … The post Re-Creating the Porky Pig Animation from Looney Tunes in CSS appeared...

Tech Stacks and Website Longevity


Steren Giannini in “My stack will outlive yours”: My stack requires no maintenance, has perfect Lighthouse scores, will never have any security vulnerability, is based on open standards, is portable, has an instant dev loop, has no build step … The post Tech Stacks and Website...

Checkerboard Reveal


Back when I was 10, I remember my cousin visiting our house. He was (and still is) a cool kid, the kind who’d bring his own self-programmed chess game on a floppy disk. And his version of chess was … The post Checkerboard Reveal appeared first on CSS-Tricks. You can support CSS-Tricks...

You want minmax(10px, 1fr) not 1fr


There are a lot of grids on the web like this: .grid { display: grid; grid-template-columns: repeat(3, 1fr); } My message is that what they really should be is: .grid { display: grid; grid-template-columns: repeat(3, minmax(10px, 1fr)); } Why? In … The post You want minmax(10px, 1fr)...

Servers: Cool Once Again


There were jokes coming back from the holiday break that JavaScript decided to go all server-side. I think it was rooted in: The Basecamp gang releasing Hotwire, which looks like marketing panache around a combination of technologies. “HTML over … The post Servers: Cool Once Again...

useStateInCustomProperties


In my recent “Custom Properties as State” post, one of the things I mentioned was that theoretically, UI libraries, like React and Vue, could automatically map the state they manage over to CSS Custom Properties so we could use that state … The post...

How to Play and Pause CSS Animations with CSS Custom Properties


Let’s have a look CSS @keyframes animations, and specifically about how you can pause and otherwise control them. There is a CSS property specifically for it, that can be controlled with JavaScript, but there is plenty of nuance to get … The post How to Play and Pause CSS Animations with...

Scrollbars on Hover


First, scrollbars are a usability and accessibility thing. Second, a rule of thumb: if an area scrolls, it should have a visible scrollbar. But the web is a big place and I like tricks, so I’m going to cover the … The post Scrollbars on Hover appeared first on CSS-Tricks. You...

New in Chrome 88: aspect-ratio


And it was released yesterday! The big news for us in CSS Land is that the new release supports the aspect-ratio property. This comes right on the heels of Safari announcing support for it in Safari Technology Preview 118, … The post New in Chrome 88: aspect-ratio appeared first...

Lightweight Form Validation with Alpine.js and Iodine.js


Many users these days expect instant feedback in form validation. How do you achieve this level of interactivity when you’re building a small static site or a server-rendered Rails or Laravel app? Alpine.js and Iodine.js are two minimal JavaScript … The post Lightweight Form Validation with...

Analyst Lyn Alden Says Ethereum Is Still an ‘Unfinished Project’


A bitcoin (BTC) strategist and investor remain skeptical towards the Ethereum protocol, considering it an “unfinished product.” Lyn Alden, an advisor for the dollar cost averaging BTC investing app Swan Bitcoin, believes the network lacks a concrete model, “other than just...

Life with ESM


ESM, meaning ES Modules, meaning JavaScript Modules. Like, import and friends. Browsers support it these days. There is plenty of nuance, but as long as you’ve dropped IE, the door is fairly open. Before ESM, the situation for JavaScript … The post Life with ESM appeared first...

Netlify Edge Handlers


Netlify Edge Handlers are in Early Access (you can request it), but they are super cool and I think they are worth wrapping your brain around now. I think they change the nature of what Jamstack is and can be.… The post Netlify Edge Handlers appeared first on CSS-Tricks. You can support...

On Type Patterns and Style Guides


Over the last six years or so, I’ve been using these things I’ve been calling “type patterns” in my web design work, and they’ve worked out pretty well for me. I’ll dig into what they are and how they can … The post On Type Patterns and Style Guides appeared first on CSS-Tricks. You...

Rendering the WordPress philosophy in GraphQL


WordPress is a CMS that’s coded in PHP. But, even though PHP is the foundation, WordPress also holds a philosophy where user needs are prioritized over developer convenience. That philosophy establishes an implicit contract between the developers building WordPress themes … The post...

AnimXYZ


There are quite a few CSS animation libraries. They tend to be a pile of class names that you can apply as needed like “bounce” or “slide-right” and it’ll… do those things. They tend to be pretty opinionated with … The post AnimXYZ appeared first...

State of JavaScript 2020


We rounded up a bunch of published 2020 annual reports right before the year ended and compiled them into a big ol’ list. The end of the list called out a couple of in-progress surveys, one of which was … The post State of JavaScript 2020 appeared first on CSS-Tricks. You can support...

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