Search

Nalezeno "Article": 1993

Coding Font Game


A tournament bracket UI where you pick your favorite between two coding fonts and your choices are whittled down all the way to a final winner. A clever way to suss out your own taste and arrive at a choice.… The post Coding Font Game appeared first on CSS-Tricks. You can support CSS-Tricks...

Parallax Powered by CSS Custom Properties


Good friend Kent C. Dodds has recently dropped his new website which had a lot of work go into it. I was fortunate enough that Kent reached out a while back and asked if I could come up with some … The post Parallax Powered by CSS Custom Properties appeared first on CSS-Tricks. You...

The Many Faces of VS Code in the Browser


VS Code is built from web technologies (HTML, CSS, and JavaScript), but dare I say today it’s mostly used a local app that’s installed on your machine. That’s starting to shift, though, as there has been an absolute explosion of … The post The Many Faces of VS Code in...

PHP Date and Time Recipes


Dealing with dates and times is one of those things that can frustrate programmers a lot. At the same time, they are fundamental to software development, used from everything from meta and how things are ordered to time-based triggers and … The post PHP Date and Time Recipes appeared first...

Zero Trickery Custom Radios and Checkboxes


I feel like half of all “custom-designed radio buttons and checkboxes” do two things: Make them bigger Colorize them I always think of SurveyMonkey for having big chunky radios and checkboxes. And indeed, just poking at their interface quickly, even … The post Zero Trickery...

What do you get for using a search input type?


Like this: <input type="search"> You get an extra-round-y appearance in Safari, which at one time matched the macOS look for search inputs, but not really anymore. I don’t hate the look, except… Safari totally ignores the font-size you set on … The post What do you...

Cherry-Picking Commits in Git


In part 5 of this series, we looked at rebasing and merging. Although there are a couple of differences between git merge and git rebase, both commands have the same goal: they integrate changes from one branch into another. The post Cherry-Picking Commits in Git appeared first on CSS-Tricks....

A Clever Sticky Footer Technique


Upon hearing “sticky footer” these days, I would think most people imagine a position: sticky situation where a footer element appears fixed on the screen while in the scrolling context of some parent element. That’s not quite what I’m talking … The post A Clever...

Generate a Pull Request of Static Content With a Simple HTML Form


Jamstack has been in the website world for years. Static Site Generators (SSGs) — which often have content that lives right within a GitHub repo itself — are a big part of that story. That opens up the idea of … The post Generate a Pull Request of Static Content With a Simple HTML Form...

Jamstack TV


That’s the name of Netlify’s YouTube Channel. Love that. I linked up Rich’s talk the other day, which was a part of this past JamstackConf, but now all the talks are up on there. Rich got to talk … The post Jamstack TV appeared first on CSS-Tricks. You can support...

Color Alpha Anywhere


In my “Different Degrees of Custom Property Usage” article, I noted a situation about colors and CSS custom properties where I went “too far” with breaking up HSL color values. Breaking every single color into its H, S, and L parts … The post Color Alpha Anywhere...

Defining and Applying UI Themes Using the Mimcss CSS-in-JS Library


Theming UI refers to the ability to perform a change in visual styles in a consistent manner that defines the “look and feel” of a site. Swapping color palettes, à la dark mode or some other means, is a good … The post Defining and Applying UI Themes Using the Mimcss CSS-in-JS Library...

Other Looks at the Conditional Border Radius Trick


Remember when Ahmad Shadeed wrote about that border-radius “toggle” he found in Facebook’s CSS? It was interesting! I covered it. A few weeks after that surge of linkage, a couple of articles came out digging into it a little deeper. … The post Other Looks at...

Interactive Rebase: Clean up your Commit History


Interactive Rebase is the Swiss Army knife of Git commands: lots of use cases and lots of possibilities! It's really a great addition to any developer's tool chain, because it lets you revise your local commit history—before you share your work with the rest of the team. Let's see what you can...

Easy Dark Mode (and Multiple Color Themes!) in React


I was working on a large React application for a startup, and aside from just wanting some good strategies to keep our styles organized, I wanted to give this whole “dark mode” thing a shot. With the huge ecosystem around … The post Easy Dark Mode (and Multiple Color Themes!) in React...

Don’t Snore on CORS


Whatever, I just needed a title. Everyone’s favorite web security feature has crossed my desk a bunch of times lately and I always feel like that is a sign I should write something because that’s what blogging is. The main … The post Don’t Snore on CORS appeared first...

Quick and Dirty Bootstrap Overrides at Runtime


Oh, Bootstrap, that old standard web library that either you hate or you spend all your time defending as “it’s fine, it’s not that bad.” Regardless of what side you fall on, it’s a powerful UI framework that’s everywhere, … The post Quick and Dirty Bootstrap Overrides at Runtime appeared...

React Suspense: Lessons Learned While Loading Data


Suspense is React’s forthcoming feature that helps coordinate asynchronous actions—like data loading—allowing you to easily prevent inconsistent state in your UI. I’ll provide a better explanation of what exactly that means, along with a quick introduction of Suspense, and then … The...

CSS Grid Can Do Auto Height Transitions


Bonafide CSS trick alert! Nelson Menezes figured out a new way (that only works in Firefox for now) that is awfully clever. Perhaps you know that CSS cannot animate to auto dimensions, which is super unfortunate. Animating from … The post CSS Grid Can Do Auto Height Transitions appeared...

Icon Glassmorphism Effect in CSS


I recently came across a cool effect known as glassmorphism in a Dribble shot. My first thought was I could quickly recreate it in a few minutes if I just use some emojis for the icons without wasting time … The post Icon Glassmorphism Effect in CSS appeared first on CSS-Tricks. You...

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