Search

Nalezeno "reason": 291

font-weight: 300 considered harmful


Tomáš Janoušek: Many web pages these days set font-weight: 300 in their stylesheet. With DejaVu Sans as my preferred font, this results in very thin and light text that is hard to read, because for some reason the “DejaVu Sans ExtraLight” variant (weight 200) is being used...

Benjamin R. Tucker: Why I Am An Anarchist


Why am I an Anarchist? That is the question which the editor of the Twentieth Century has requested me to answer for his readers. I comply; but, to be frank, I find it a difficult task. If the editor or one of his contributors had only suggested a reason why I should be anything other […] The...

Ayn Rand: Francisco d’Anconia’s Speech on Money


“So you think that money is the root of all evil?” said Francisco d’Anconia. “Have you ever asked what is the root of money? Money is a tool of exchange, which can’t exist unless there are goods produced and men able to produce them. Money is the material shape of...

Flexbox-like “just put elements in a row” with CSS grid


It occurred to me while we were talking about flexbox and gap that one reason we sometimes reach for flexbox is to chuck some boxes in a row and space them out a little. My brain still reaches for flexbox in that situation, and with gap, it probably will continue to do so. It’s worth noting...

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

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