222 private links
A simple layout for nav with negative margins
The post covers the JSON format with different topics.
Shared data are used while generating a website: some can be shared accross different pages.
Carousel are still complicated, but better
It states that every method should either be a command that performs an action, or a query that returns data to the caller, but not both.
More formally, methods should return a value only if they are referentially transparent and hence possess no side effects.
Even in single-threaded programs, it is sometimes arguably significantly more convenient to have a method that is a combined query and command. Martin Fowler cites the pop() method of a stack as an example.
The lh unit is even more useful [for icon sizes] though because it is relative to the computed line height.
.flow > * + * {
margin-block-start: var(--flow-space, 1em);
}
Use SVGs instead of icon fonts for the reasons explained in the articles.
Source of markup ghosts:
- proprietary markup introduced by browser vendors
- specs which didn*t see uptake like HTML3
- use case specific markup on devices like WebTV or early smartphones
Some old tags:
<audioscope>
to display the sound over time. A demo https://www.youtube.com/watch?v=tM7YVhar2Dg<au>
for authors<blackface>
for double-weight boldface... in HTML 🤡<center>
oh shit<font>
and color attributesdingbat
attribute to embed emojis, extended unicode entities, icon fonts and custom things. Now it is used as<
for example and does not rely on the attribute anymore.<multicols>
....<person>
in HTML 3, but it opens the door for so many other tags. Now instead we can rely on<a rel="author">
or withme
and more
They're nice and useful tools :)
They can be extended to browser extensions if they need to.
It can be a meme: instead of talking about semantics, UX is trendy and can be used as trendy shit word instead.
UX HTML is more accessible, less error-prone, more maintainable because it uses the right tags and attributes. Yes it is semantic at the end.
So UX of HTML matters.
With the latest changes in MacOS, we can now build Progressive Web Apps for all devices.
Exactly.
Law 1: Utility Classes Consume the Design System, They Don’t Create It
Law 2: Utility Classes Cover Only the Low-Hanging Fruit
Law 3: Utility Classes Complement, not Supplant, Semantic CSS
Let's take a look at how to spin up a simple Node server and use custom elements as templates in three popular formats
As always it depends of the need.
Signal has open-sourced a SQLite extension that provides better support for non-latin languages (Chinese, Japanese, etc) in the Full-Text Search (FTS) virtual table.