![PHP Date and Time Recipes](https://www.cdn5.niftycent.com/d/k/M/m/8/J/a/php-date-and-time-recipes.webp)
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 on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Zero Trickery Custom Radios and Checkboxes](https://www.cdn5.niftycent.com/d/1/g/r/3/Q/v/zero-trickery-custom-radios-and-checkboxes.webp)
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 Custom Radios and Checkboxes appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/zero-trickery-custom-radios-and-checkboxes/
![What do you get for using a search input type?](https://www.cdn5.niftycent.com/d/e/7/m/B/l/z/what-do-you-get-for-using-a-search-input-type.webp)
Like this:
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 get for using a search input type? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/what-do-you-get-for-using-a-search-input-type/
![The Gap (Design Engineering)](https://www.cdn5.niftycent.com/d/k/z/3/2/Q/v/the-gap-design-engineering.webp)
Egor Kloos describes a situation where a (purely visual) designer asks for some changes to a component. There is a misunderstanding where the (code monkey) developer implements the change exactly as requested—but really what was required was both a bug …
The post The Gap (Design Engineering) appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Cherry-Picking Commits in Git](https://www.cdn5.niftycent.com/d/D/P/l/8/x/B/cherry-picking-commits-in-git.webp)
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. You can support CSS-Tricks by being an MVP Supporter.
![A Clever Sticky Footer Technique](https://www.cdn5.niftycent.com/d/1/w/X/b/6/o/a-clever-sticky-footer-technique.webp)
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 Sticky Footer Technique appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Line length revisited: following the research](https://www.cdn5.niftycent.com/d/D/2/X/0/6/G/line-length-revisited-following-the-research.webp)
Mary Dyson produces nitty gritty research on the long-accepted notion that shorter line lengths are more legible than longer ones. The study finds that shorter lines do not necessarily lead to faster reading. If you’re looking for a definitive answer …
The post Line length revisited: following the research appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/line-length-revisited-following-the-research/
![Jamstack TV](https://www.cdn5.niftycent.com/d/D/v/X/v/G/A/jamstack-tv.webp)
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 CSS-Tricks by being an MVP Supporter.
![Generate a Pull Request of Static Content With a Simple HTML Form](https://www.cdn5.niftycent.com/d/D/3/p/W/Y/V/generate-a-pull-request-of-static-content-with-a-simple-html-form.webp)
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 appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/generate-a-pull-request-of-static-content-with-a-simple-html-form/
![Color Alpha Anywhere](https://www.cdn5.niftycent.com/d/e/L/o/5/J/o/color-alpha-anywhere.webp)
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 appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.