Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (2 active)
A
-
Animation (@keyframes)
Movement defined in steps that can loop or run on its own, without a trigger.
-
aspect-ratio and object-fitKeep a box at a fixed shape, and make images fill it without being squashed.
B
-
BEM naming
A naming system for CSS classes: block__element--modifier.
C
-
calc(), min(), max()Do maths in CSS, mixing units, and pick the smaller or larger of two values.
-
Cascade and inheritance
How the browser decides which rule wins when several apply, and which values children take from their parents.
-
clamp()
A value that scales between a minimum and maximum, often used for fluid font sizes.
-
Core Web Vitals
Google’s three page-experience metrics: loading (LCP), responsiveness (INP) and layout stability (CLS).
-
CSS Grid
A two-dimensional layout system for rows and columns.
-
CSS nesting
Writing rules inside rules, like in Sass, now supported natively by browsers.
-
CSS reset and normalize
A small stylesheet that removes browser default differences so you start from a predictable base.
-
Custom properties
CSS variables defined with -- and read with var().
D
-
Dark mode (prefers-color-scheme)
Offering a dark colour scheme that follows the visitor's system setting.
-
<details> and <summary>A built-in open/close section, perfect for FAQs, with no JavaScript needed.
F
-
:focus-visibleShows a clear focus outline for keyboard users without showing it on every mouse click.
G
-
gapSpace between items in a flex or grid container, without margins on the items themselves.
O
-
overflowWhat happens when content is bigger than its box: show it, hide it, or scroll.
P
-
position (relative, absolute, fixed, sticky)Moves elements out of the normal flow: on top of others, fixed to the screen or sticking while scrolling.
-
prefers-reduced-motion
A setting some visitors turn on because motion makes them dizzy; your CSS can respect it.
-
Pseudo-classes and pseudo-elements
:hover, :focus, :checked describe a state; ::before, ::after, ::placeholder style a part of an element.
R
-
Responsive images (srcset)
Offering several sizes of one image so phones download a small file and big screens a sharp one.
S
-
Sass / SCSS
A CSS extension with variables, nesting and functions that compiles to normal CSS.
-
Scroll snap and smooth scrolling
Makes scroll containers stop neatly on each item, and anchor jumps scroll smoothly.
-
Specificity
The rule that decides which CSS wins when several rules target the same element.
T
-
Tailwind CSS
A framework of small utility classes you combine directly in the HTML instead of writing your own CSS.
-
transformMove, scale, rotate or skew an element without affecting the layout around it.
-
Transition
Animates the change between two states, such as a button colour on hover.