Search
7 Uses for CSS Custom Properties
27.12.2019
I find all seven of these quite clever and useful.
I particularly like using custom properties when you can sneak a variation into a place where you'd normally have to re-declare a whole big chunk of code.
.some-element {
background-color: hsla(
var(--h, 120),
var(--s, 50),
var(--l...
[aktualita] Brněnská Solitea kupuje český Clever Decision a slovinský MIT informatika
18.12.2019
Brněnský IT holding Solitea před Vánoci dokončila další dvě akvizice. Prostřednictvím své společnosti Saop získal stoprocentní podíl ve slovinském podniku MIT informatika, díky čemuž se má Solitea stát největším výrobcem podnikových informačních systémů ve výrobním sektoru na Slovinsku. „Zatímco...
Design APIs: The Evolution of Design Systems
17.12.2019
A clever idea from Matthew Ström:
[...] design APIs don’t seem like a stretch of the imagination. An API-driven approach is the natural extension of the work currently being done on design systems, including tokens and standardization projects.
If you buy into the idea of design tokens, that...
lite-youtube-embed
13.12.2019
A standard copy-and-paste YouTube embed lands on your page as an <iframe> which loads a big ol' pile of other stuff to play that video. But the UX of it is still essentially an image and a play button. Click the play button and the video plays. You can build essentially the same thing with...
iOS 13 Broke the Classic Pure CSS Parallax Technique
27.11.2019
I know. You hate parallax. You know what we should hate more? When things that used to work on the web stop working without any clear warning or idea why.
Way back in 2014, Keith Clark blogged an exceptionally clever CSS trick where you essentially use a CSS transform to scale an element down...
Interview with a Pornhub Web Developer
7.10.2019
Regardless of your stance on pornography, it would be impossible to deny the massive impact the adult website industry has had on pushing the web forward. From pushing the browser’s video limits to pushing ads through WebSocket so ad blockers don’t detect them, you have to be clever...
Bankers Start to Recognize Bitcoin’s Role in Financial Evolution
29.9.2019
Digitization, disruption, blockchain, and frictionless payments. It’s amazing how prominent figures from the financial elite can provide a pretty detailed description of decentralized money without uttering “bitcoin” or “crypto.” But the fact of the matter is that...
A Color Picker for Product Images
17.9.2019
Sounds kind of like a hard problem doesn't it? We often don't have product shots in thousands of colors, such that we can flip out the <img src="product-red.jpg" alt="red product"> with <img src="product-blue.jpg" alt="blue product">. Nor do we typically have products in a vector...
Lazy load embedded YouTube videos
20.8.2019
This is a very clever idea via Arthur Corenzan. Rather than use the default YouTube embed, which adds a crapload of resources to a page whether the user plays the video or not, use the little tiny placeholder webpage that is just an image you can click that is linked to the YouTube embed.
It still...
Multi-Line Truncation with Pure CSS
17.7.2019
Truncating a single line of text if is fairly straightforward. Truncating multiple lines is a bit harder. Using just CSS (no JavaScript or server-side dancing) is nice for the simplicity. It's gotten a little easier lately since Firefox (since version 68) has started supporting the ultra-bizarre...
Clever code
17.4.2019
This week, Chris Ferdinandi examined a clever JavaScript snippet, one that's written creatively with new syntax features, but is perhaps less readable and performant. It's a quick read, but his callout of our industry's fixation on cleverness is worth... calling out:
...we’ve become obsessed as...
Don’t Get Clever with Login Forms
19.2.2019
Brad points out some UX problems with a variety of apps that are doing things a little outside of the norm when it comes to their login forms. There is already a bunch of things to get right with forms to begin with (e.g. use the right input types, label your inputs, don't have whack password...
IE10-Compatible Grid Auto-Placement with Flexbox
18.2.2019
If you work on web applications that support older browsers, and have lusted after CSS Grid from the sidelines like I have, I have some good news: I've discovered a clever CSS-only way to use grid auto-placement in IE10+!
Now, it's not actually CSS Grid, but without looking at the code itself,...
Collective #493
18.2.2019
ES5 to ESNext * Don't Get Clever with Login Forms * Meteorite * Awesome Design Tools * Leon
Collective #493 was written by Pedro Botelho and published on Codrops
Český Clever Monitor globálně roste, vydává dluhopisy za 100 milionů
8.2.2019
Technologická společnost Clever Monitor, kterou jsme představili jako Startup Týdne #17, byla založena v roce 2011. Vyvíjí software pro marketingovou automatizaci Clever AIM, který umožňuje středním a velkým společnostem aktivně komunikovat se svými stávajícími zákazníky a automatizovat široké...
[aktualita] Český Clever Monitor kvůli rozvoji vydává dluhopisy, získat chce až 100 milionů
7.2.2019
Clever Monitor je další mladou českou technologickou firmou, která pro financování svého rozvoje vydává dluhopisy. Za pomoci finanční skupiny Starteepo je nabízí skrze nový portál Bondyo.cz. Emise je schválená Českou národní bankou. Firma chce skrze dluhopisy získat až 100 milionů korun. Roční...
Putting the Flexbox Albatross to Real Use
24.1.2019
If you hadn't seen it, Heydon posted a rather clever flexbox layout pattern that, in a sense, mimics what you could do with a container query by forcing an element to stack at a certain container width. I was particularly interested, as I was fighting a little layout situation at the time I...
Bridging the Gap Between CSS and JavaScript: CSS Modules, PostCSS and the Future of CSS
4.12.2018
In the previous post in this two-part series, we explored the CSS-in-JS landscape and, we realized not only that CSS-in-JS can produce critical styles, but also that some libraries don’t even have a runtime. We saw that user experience can significantly improve by adding clever optimizations, which...
PSA: Yes, Serverless Still Involves Servers.
16.7.2018
You clever dog. You've rooted it out! It turns out when you build things with serverless technology you're still using servers. Pardon the patronizing tone there, I've seen one-too-many hot takes at this point where someone points this fact out and trots away triumphantly.
And yes, because...
Unicode Patterns
18.5.2018
These Unicode patterns by Yuan Chuan are extraordinarily clever. It's a <css-doodle> custom web component that sets up a CSS grid and randomizes what character to drop into a cell and things, like color.
See all their gorgeous work on CodePen and the very cool <css-doodle> website...