ServiceNow News
13 items
When I first started building websites, rounded corners required five background images, one for each corner, one for the body, and a prayer that the client wouldn’t ask for a different radius. The...
Beyond `border-radius`: What The CSS `corner-shape` Property Unlocks For Everyday UI
smashingmagazine.com
cache
Tooltips feel like the smallest UI problem you can have. They’re tiny and usually hidden. When someone asks how to build one, the traditional answer almost always comes back using some JavaScript l...
Getting Started With The Popover API
smashingmagazine.com
cache
In many countries, web accessibility is a human right and the law, and there can be heavy fines for non-compliance. Naturally, this means that text and icons and such must have optimal color contra...
Exploring the CSS contrast-color() Function… a Second Time
CSS-Tricks
·
about 1 year
css-tricks.com
cache
I came across this awesome [article navigator](https://codepen.io/jh3y/pen/NWQYPvy) by [Jhey Tompkins](https://jhey.dev/):
CodePen Embed Fallback
It solved a UX problem I was facing on a project,...
Case Study: Combining Cutting-Edge CSS Features Into a “Course Navigation” Component
CSS-Tricks
·
over 1 year
css-tricks.com
cache
The [Popover](https://css-tricks.com/poppin-in/) [API](https://css-tricks.com/poppin-in/) and [<dialog> element](https://css-tricks.com/clarifying-the-relationship-between-popovers-and-dialogs/) ar...
Invoker Commands: Additional Ways To Work With Dialog, Popover… And More?
CSS-Tricks
·
almost 2 years
css-tricks.com
cache
> If all you have is a hammer, everything looks like a nail.
>
> [_Abraham Maslow_](https://en.wikipedia.org/wiki/Abraham%5FMaslow)
It’s easy to default to what you know. When it comes to togglin...
<p>The <code><strong>text-box-trim</strong></code> and <code><strong>text-box-edge</strong></code> properties in CSS enable developers to trim specifiable amounts of the whitespace t...
Two CSS Properties For Trimming Text Box Whitespace
CSS-Tricks
·
almost 2 years
css-tricks.com
cache