Topic

#CSS

46 posts tagged “CSS”.

Takina Takina · · 4 min read

CSS object-fit and object-position, Explained

object-fit controls how an image or video is cropped inside its box, and object-position controls which part of it stays visible. How they work together.

#CSS #Web Development #Frontend
Takina Takina · · 5 min read

CSS inherit, initial, unset & revert Explained

CSS's four global keywords control where a property's value comes from. How inherit, initial, unset, and revert differ, with a comparison table.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

Dynamic Viewport Units: dvh, svh, and lvh Explained

dvh, svh, and lvh fix the classic mobile vh bug where browser toolbars cut off full-height layouts. Here's what each unit measures and when to use it.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Grid repeat() and minmax() Explained

repeat() and minmax() let CSS Grid build responsive layouts without media queries. How the two functions combine, and common patterns.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Stacking Contexts and Z-Index Explained

Z-index only compares elements within the same stacking context. What creates a new context, how they nest, and why z-index: 9999 sometimes fails.

#CSS #Web Development #Frontend
Takina Takina · · 5 min read

CSS will-change Explained: Compositing and Performance

The CSS will-change property hints the browser to prepare an element for an upcoming change, moving it to its own compositor layer. When to use it and when not to.

#CSS #Web Development #Performance
Takina Takina · · 4 min read

What Is CSS Houdini? Extending CSS With JS

CSS Houdini is a set of low-level browser APIs that let JavaScript hook into the CSS rendering pipeline itself, instead of working around it.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Grid-Template-Areas: Named Layouts Explained

grid-template-areas lets you name grid regions and place items by name instead of row and column numbers, turning your CSS into a visual map of the layout.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Gradients Explained: Linear, Radial, and Conic

CSS gradients render smooth color transitions directly in the browser — no image files. How linear, radial, and conic gradients work, with practical examples.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

What Is backdrop-filter? Frosted-Glass CSS Effects

backdrop-filter blurs, darkens, or otherwise adjusts whatever sits behind an element, powering frosted-glass UI without extra markup or JavaScript.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Counters Explained: Auto-Numbering Without JS

CSS counters auto-number elements with counter-reset, counter-increment, and the counter() function — no JavaScript or manual list numbers required.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Environment Variables and env() Explained

CSS env() reads values from the browser or device itself, like safe-area insets on notched phones, instead of from your own custom properties.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS :focus-visible vs :focus Explained

:focus-visible only shows a focus ring for keyboard and other non-pointer input, while :focus matches every focus event, including mouse clicks.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Transitions vs Animations: Which to Use

CSS transitions animate a single state change; animations run independent, repeatable keyframe sequences. How to pick the right one for the job.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS clip-path and Masking Explained

clip-path and mask-image clip or fade elements into custom shapes in pure CSS, replacing image editors and SVG sprites for cropping.

#CSS #Web Development #Frontend
Takina Takina · · 3 min read

CSS Scroll Snap Explained

CSS scroll snap locks scrolling to fixed positions using scroll-snap-type and scroll-snap-align, no JavaScript required. Here's how it works.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Anchor Positioning Explained

CSS anchor positioning lets an element attach to another element's edges without JavaScript. How anchor(), position-anchor, and fallbacks work.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS text-wrap: balance, Explained

text-wrap: balance evens out line lengths in headlines using the browser's own layout engine, no JavaScript required. How it works and when to use it.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS @property: Typed Custom Properties Explained

@property registers a CSS custom property with a type, initial value, and inheritance rule — unlocking smooth animation and real error checking.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS aspect-ratio: Sizing Boxes Without Padding Hacks

The CSS aspect-ratio property locks a box's width-to-height ratio in one line, replacing the old padding-top percentage trick. Syntax, gotchas, and use cases.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

What Is Shadow DOM? Encapsulated Web Components

Shadow DOM attaches an isolated DOM tree to an element so a component's styles and markup can't leak in or out. Here's how it actually works.

#Web Development #JavaScript #CSS
Takina Takina · · 4 min read

CSS clamp() and Fluid Typography, Explained

CSS clamp() scales a value smoothly between a minimum and maximum, letting font sizes and spacing flex with the viewport without media queries.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Scroll-Driven Animations Explained

CSS scroll-driven animations tie keyframes to scroll position instead of a clock, running smoothly off the main thread. Here's how the timeline model works.

#CSS #Web Development #Frontend
Takina Takina · · 3 min read

CSS Subgrid Explained: Nested Grids That Align

CSS subgrid lets a nested grid item inherit its parent's row and column tracks, so child elements line up across unrelated components.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

rem vs em vs px: CSS Units Explained

px is a fixed unit, em scales to a parent's font size, and rem scales to the root. How to choose between them for sizing and typography in CSS.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Cascade Layers Explained: The @layer Rule

CSS cascade layers let you group styles into named layers with explicit priority order, so specificity fights between resets, components, and overrides disappear.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

What Is :has() in CSS? The Parent Selector Explained

:has() is CSS's relational pseudo-class — it lets a selector match an element based on what's inside or after it, finally enabling a parent selector.

#CSS #Web Development #Frontend
Takina Takina · · 5 min read

CSS Nesting Explained: Native Nested Selectors

Native CSS nesting lets you nest selectors inside a parent rule without a preprocessor. How the syntax works, the & selector, and specificity gotchas.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Custom Properties: Variables in CSS Explained

CSS custom properties are native variables that cascade, inherit, and update live at runtime. How they work, why they beat preprocessor variables.

#CSS #Frontend #Web Development
Takina Takina · · 5 min read

What Is CSS Specificity? The Cascade, Explained

CSS specificity is the scoring system that decides which rule wins when several target the same element. How the weights work and how to keep them low.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

CSS Grid vs. Flexbox: When to Use Each

Grid and Flexbox aren't rivals — they solve different problems. A simple rule of thumb, with examples, for choosing the right layout tool every time.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

What Is CSS? How the Web Gets Its Style

CSS is the language that styles every web page. Learn how selectors, the cascade, the box model, and modern layout tools like flexbox and grid work.

#CSS #Web Development #Frontend
Takina Takina · · 4 min read

Tailwind CSS v4: The CSS-First Rewrite, Explained

Tailwind v4 rewrites the engine from scratch for dramatically faster builds and moves configuration into CSS itself. Here's what changed and how to work with it.

#CSS #Web Development #Tailwind

← All topics