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 (1 active)
A
-
Accessibility (a11y)
Making a site usable for everyone, including people using screen readers, keyboards or zoom.
-
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.
-
Box model
Every element is a box: content, then padding, then border, then margin.
-
Bundler (Vite, webpack, esbuild)
A tool that combines and shrinks your JavaScript and CSS files into a few fast ones for production.
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.
-
Cascade layers (@layer)
Named groups of CSS whose order decides which wins, regardless of specificity.
-
clamp()
A value that scales between a minimum and maximum, often used for fluid font sizes.
-
Colour contrast
The difference in brightness between text and background; too little and text is hard to read.
-
Colours (hex, rgb, hsl, oklch)
Ways to write a colour in CSS.
-
console and DevTools
The browser's developer tools: inspect elements, see errors, watch network requests and run code.
-
Container queries
Styles that react to the size of the parent box instead of the whole screen.
-
Core Web Vitals
Google’s three page-experience metrics: loading (LCP), responsiveness (INP) and layout stability (CLS).
-
CSS
The language that styles a web page: colours, fonts, spacing, layout and animation.
-
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.
-
display (block, inline, none)The CSS property deciding how an element takes space: block, inline, flex, grid or hidden.
F
-
Flexbox
A layout mode for arranging items in one row or column, with control over spacing and alignment.
-
: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.
H
-
:has()The "parent selector": style an element depending on what it contains.
L
-
Lighthouse
Google's built-in audit for performance, accessibility, best practices and SEO, scored 0 to 100.
-
Logical properties
margin-inline, padding-block and friends: directions that adapt to the writing direction.
M
-
Margin collapse
When two vertical margins meet, only the bigger one is used instead of both added up.
-
Media query
CSS that applies only under conditions such as screen width or a dark-mode preference.
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
-
Render-blocking CSS and critical CSS
CSS in the head must load before the page shows; keeping it small makes the first screen appear faster.
-
Responsive design
One page that adapts its layout to every screen, from phone to wide monitor.
-
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.
-
Selector
The part of a CSS rule that chooses which elements it applies to.
-
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.
-
Typography in CSS
Fonts, sizes, line height and spacing: what makes text pleasant to read.
U
-
Units (px, rem, em, %, vw, vh)
How sizes are measured: fixed pixels, relative to the font size, the parent or the screen.
V
-
Viewport meta tag
The line that tells phones to show the page at its real width instead of a zoomed-out desktop view.
W
-
Web fonts (@font-face)
Loading your own font files so the site looks the same everywhere.
Z
-
z-index and stackingWhich element appears on top when they overlap.