Over-nesting
I think since our design industry moves so quickly and exciting new technologies get released almost daily, that we often forget some of the basics when writing CSS. I bring this up because I’ve...
View ArticleBetter Box Shadows
.box-container, .box-container-depth { background: white; box-shadow: 0 4px 8px rgba(0,0,0,0.3); border: 1px solid #eee; border-radius: 10px; margin: 2rem auto; padding: 10px; position: relative;...
View ArticleBasic gulp build for Sass
Some designers might shy away from build tools when first starting out and I can understand the reasoning - task runners like gulp and grunt can seem daunting at first. So, I’ve decided to showcase my...
View ArticleEasy custom radio inputs
.radio-container { margin: 0 auto; max-width: 400px; width: 100%; } .radio-label { background: white; border: 1px solid #eee; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); cursor:...
View ArticleTabbed content without JavaScript
.tab-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; margin: 0 auto; width:...
View ArticleProper UI hierarchy
.buttons-container { background: #E0E9EE; border-radius: 5px; display: flex; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",...
View ArticleSuper Mario blocks in CSS
.main-container { display: block; margin: 20px auto; text-align: center; } .mario-block { display: inline-block; height: 80px; margin-right: -7px; position: relative; width: 80px; } .mario-block input...
View ArticleEasy toggle switches
:root { --primary-color: #4A90E2; } .toggle-container { display: block; font-size: 14px; margin: 0 auto; } .toggle-switch { align-items: center; display: flex; font-family: -apple-system,...
View ArticleAnimated card tiles
.card-tiles-container { display: flex; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";...
View ArticlePrescription form UI improvements
Before we begin... I've decided to do something different with this post - instead of creating a refreshed design with HTML & CSS, I'm just going to breakdown how to improve this design from a...
View ArticleSkip to content button
One of the golden rules for testing your website’s accessibility is the “keyboard-only” audit. This is where you test navigating through your entire site without the use of a mouse, but instead rely...
View ArticleSimple Does Not Mean Ugly
I see new blog posts popping up now and again advocating for designers to keep their products as simple as possible - and I couldn't agree more. A lot of designers tend to think they need to reinvent...
View ArticleCSS: Indenting text
TypeTip series: In this small series I take a look at some useful yet less unknown typography specific CSS properties. A lot of developers tend to do the bare minimum when it comes to implementing...
View ArticleCSS value: current color
There are a large number of nuanced and mostly unheard of CSS value types, but today we are going to focus on currentColor. So what is the currentColor value type anyway? The currentColor value type...
View ArticleYes, I still use jQuery
I’ve seen a handful of condescending comments from front-end developers since the newest build of jQuery (3.4.0) released a couple of days ago. While I understand not all developers share the same...
View ArticleBrowser history sucks
Have you ever needed to step back through your browser history to find a particular site or product? Do you remember that experience being good? Most likely not. Much like printers, the design of...
View ArticleCSS Character unit
When it comes to proper readability with large portions of text, the golden standard is to have no more than 75 characters per line. This is easy to achieve in the world of print but on the responsive,...
View ArticleMinimal CSS: Dropdown menu
I love the idea of stripping away as much CSS as possible, while still maintaining the original UI concept. Let's do that with a simple menu dropdown. Interesting facts about our final CSS menu: Total...
View ArticleFirst letter pseudo element
In today’s TypeTip™ we will be taking a look at the often overlooked :first-letter CSS pseudo element. Though you might only use this for specific article-format web pages, it’s still a nice-to-have in...
View ArticleCut your forms in half
Building web forms can sometimes feel like a boring or daunting task. Don't pass this dread on to your users - rip out as many of your form fields as possible. Web forms tend to get a bad rep, mainly...
View Article