![Scroll Shadows With JavaScript](https://www.cdn5.niftycent.com/d/k/J/X/q/M/0/scroll-shadows-with-javascript.webp)
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 CSS-Tricks by being an MVP Supporter.
![Conditional Border Radius In CSS](https://www.cdn5.niftycent.com/d/k/l/r/l/R/x/conditional-border-radius-in-css.webp)
Ahmad Shadeed documents a bonafide CSS trick from the Facebook CSS codebase. The idea is that when an element is the full width of the viewport, it doesn’t have any border-radius. But otherwise, it has 8px of border-radius. …
The post Conditional Border Radius In CSS appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
This is some bonafide CSS trickery from Harry that gives you some generic performance advice based on what it sees in your element. First, it’s possible to make a block visible like any other element by changing the …
The post ct.css — Performance Hints via Injected Stylesheet Alone appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Branching Strategies in Git](https://www.cdn5.niftycent.com/d/e/4/8/g/A/x/branching-strategies-in-git.webp)
In this article I'm going to talk about branching strategies and different types of Git branches. I’m also going to introduce you to two common branching workflows: Git Flow and GitHub Flow.
The post Branching Strategies in Git appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Quickly Testing CSS Fallbacks](https://www.cdn5.niftycent.com/d/k/M/M/N/r/W/quickly-testing-css-fallbacks.webp)
Dumb trick alert! Not all browsers support all features. Say you want to write a fallback for browsers that doesn’t support CSS Grid. Not very common these days, but it’s just to illustrate a point. You could write the supporting …
The post Quickly Testing CSS Fallbacks appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![ShopTalk Goes Video](https://www.cdn5.niftycent.com/d/1/G/r/R/v/y/shoptalk-goes-video.webp)
Dave and I slapped up a little videos section of the ShopTalk website. Twelve so far! They are short-ish, between 10-20 minutes, each focused on one fairly specific thing. We’re kinda just dipping our toes here — we don’t …
The post ShopTalk Goes Video appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Animation Techniques for Adding and Removing Items From a Stack](https://www.cdn5.niftycent.com/d/1/0/x/G/X/3/animation-techniques-for-adding-and-removing-items-from-a-stack.webp)
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 a Stack appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/animation-techniques-for-adding-and-removing-items-from-a-stack/
![Links on React and JavaScript II](https://www.cdn5.niftycent.com/d/D/v/j/9/x/m/links-on-react-and-javascript-ii.webp)
How To Use The Vite Build Tool with React — Vite is hot, in part, because it’s based on esbuild and wickedly fast. It’s from Evan You of Vue fame, but it’s not a Vue-specific tool. Here, NARUHODO covers how … The post Links on React and JavaScript II appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter. https://css-tricks.com/links-on-react-and-javascript-ii/
I'm certainly not dogmatic about it, but I think if you can pull of a project with literally zero build process, it feels good while working on it and feels very good when you come back to it months/years later and can just pick up and go.
The post Using the platform appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Working With Built-in GraphQL Directives](https://www.cdn5.niftycent.com/d/1/w/q/2/7/w/working-with-built-in-graphql-directives.webp)
Directives are one of GraphQL’s best — and most unspoken — features. Let’s explore working with GraphQL’s built-in schema and operation directives that all GraphQL spec compliant APIs must implement. They are extremely useful if you are working with a …
The post Working With Built-in GraphQL Directives appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/working-with-built-in-graphql-directives/