Tag css

12 bookmarks have this tag.

CSS, short for Cascade Style Sheet, is a good companion for HTML.

2024-03-02

Reposted 1170.

Center a Div

www.joshwcomeau.com/css/center-a-div

Back in the day, centering an element was one of the trickiest things in CSS. As the language has evolved, we’ve been given lots of new tools we can use… But how do we pick the best option? When do we use Flexbox, or CSS Grid, or something else? Let's dig into it.

2023-11-28

929.

Таблица «безопасных» цветов

www.artlebedev.ru/colors

Цвета из нашей палитры везде будут отображаться правильным образом и без искажений. Любой из 216 цветов «безопасной» палитры может быть использован для графики, текста и фонов.

Ограниченный список цветов. Поможет, когда важна совместимость с плохими экранами. Почти всегда, то есть.

928.

Default Browser Styles - Björn Wärmedal

warmedal.se/~bjorn/posts/2021-11-13-default-browser-styles.html

Apart from that I rely very much on how browsers present my site, from the default font and size to the paragraph distance and the emoji set used. HTML was actually made to be responsive. It's a reflowing format that theoretically works on any screen size. But of course that won't be the case when there's things like sidebars or banners and stuff. And there pretty much always is.

927.

The Surprising Truth About Pixels and Accessibility

www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility

The truth is, if you want to build the most-accessible product possible, you need to use both pixels and ems/rems. It's not an either/or situation. There are circumstances where rems are more accessible, and other circumstances where pixels are more accessible.

926.

Defensive CSS - Introduction to Defensive CSS

defensivecss.dev/articles/intro-defensive-css

Practical CSS and design tips that helps in building future-proof user interfaces.

2023-11-16

864.

systemfontstack

systemfontstack.com

2023-07-27

523.

Restyling apps at scale – Space and Meaning

blogs.gnome.org/tbernard/2018/10/15/restyling-apps-at-scale

Tobias tells us how a proper app theming mechanism is basically impossible in GNOME, and application ecosystems in general.

“Users” want a lot of things, but just because you want something impossible that doesn’t make it possible. In this case, it’s important to be aware of the costs of giving complete visual freedom to “themes”, both in individual app developer effort, and chilling effects on the ecosystem. If given a choice between customization and more, better apps, I’m confident the majority of people would prefer the latter.

Note that Betula is much more open to customization with CSS. It's a literal setting! I don't use it, of course. If I want to change something visually, I just push it upstream. Y'all folks can do the same, of course, but I won't accept everything. So you've got custom CSS. I think it works well.

2023-07-03

418.

A Complete Guide to Flexbox | CSS-Tricks

css-tricks.com/snippets/css/a-guide-to-flexbox

I check this one every time

2023-05-19

252.

Inside the Code — WorldWideWeb NeXT Application

worldwideweb.cern.ch/code

A deconstruction of some of the more interesting bits we found hiding in the WorldWideWeb source code

The very interesting part for me is the CSS predecessor:

Normal <P> 0 Helvetica 12.0   1
	90 90	14.0 3.0  0  0 14	0

2023-02-19

44.

Swiss Style Color Picker | International Style Colors Scheme Palette

fabianburghardt.de/swisscolors
42.

Swiss in CSS

swissincss.com/zurich-tonhalle-1958

2023-02-01

28.

CSS Bed

www.cssbed.com

Classless CSS themes