Search

Nalezeno "Reason": 260

Chrome + System Fonts Snafu


There was just a bug late last year where system fonts (at least on Mac, I don’t know what the story was on other platforms) in Chrome appeared too thin and tracked-in at small sizes and too thick and tracked-out at larger sizes. That one was fixed, thankfully. But while it was a problem,...

CSS Foldable Display Polyfill


Foldable phones are starting to be a thing. Early days, for sure, but some are already shipping, and they definitely have web browsers on them. Stands to reason that, as web designers, we are going to want to know where that fold is so we can design screens that fit onto the top half and bottom...

Rethinking Code Comments


Justin Duke asks if treating code comments like footnotes could help us understand the code in a file better. In his mockup, all the comments are hidden by default and require a click to reveal: What a neat idea! Justin’s design reminds me of the way that Instapaper treated inline...

Bitcoin Games Celebrates St. Patrick’s Day With Free Spins Promotion


The world needs a good cause to cheer right now in these tense times. Luckily, St. Patrick’s Day is coming up this Tuesday, March 17. To celebrate the holiday and give players an extra reason to smile, Bitcoin Games is offering a new free spins promotion. The platform is a provably fair...

Adventures in CSS Semi-Transparency Land


Recently, I was asked to make some tweaks to a landing page and, among the things I found in the code, there were two semitransparent overlays — both with the same RGB values for the background-color — on top of an image. Something like this: <img src='myImage.jpg'/> <div...

Custom Styling Form Inputs With Modern CSS Features


It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even need a single line of JavaScript or extra HTML elements! It’s actually gotten easier lately than it has been in the past. Let’s take a look. Here’s...

CSS4 is a Bad Idea


Louis Lazaris, reacting to the idea of CSS4: The reason “CSS3” worked is because it was real. It was the successor to “CSS2.1”. Everything after CSS2.1 was considered to be under the umbrella of “CSS3”. The gist is that CSS4 isn't real, so won't work, and we don't need it anyway. Perhaps...

Freezing User-Agent Strings


There's been news about Chrome freezing their User-Agent string (and all other major browsers are on board). That means they'll still have a User-Agent (UA) string (that comes across in headers and is available in JavaScript as navigator.userAgent. By freezing it, it will be less useful over time...

Peter Schiff Forgets Bitcoin Wallet Password, Blames Bitcoin


Peter Schiff hates Bitcoin almost as much as bitcoiners hate Schiff. The gold bug makes a point of dissing the cryptocurrency whenever he can, despite the hypocrisy of accepting BCT on his own website. Today, the eccentric entrepreneur found a new reason to rip on bitcoin after forgetting...

4 Beijing Regulators Issue New Crypto Activity Warning


Four financial regulators in China have jointly issued a fresh warning regarding crypto trading activities in Beijing. The notice explains the reason for the warning and lists prohibited crypto activities, which have reportedly been surging as companies ramp up their blockchain promotion. Also...

Design APIs: The Evolution of Design Systems


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...

Having a Little Fun With Custom Focus Styles


Every front-end developer has dealt or will deal with this scenario: your boss, client or designer thinks the outline applied by browsers on focused elements does not match the UI, and asks you to remove it. Or you might even be looking to remove it yourself. So you do a little research and find...

Image Lazy Loading


Lazy loading images is a practice that’s been popular for a decade and for good reason: images are usually the heaviest downloads on a given webpage and avoiding unloading images that are never seen saves the user bandwidth. There are plugins for lazy loading images in every JavaScript...

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