Koskamo

CSS best practices

Source-linked guidance on CSS layout and cascade fundamentals: flexbox, grid, specificity, custom properties, and media queries. Scoped to CSS; not a general web design corpus.

Documents

Showing 1–5 of 5 documents

DocumentVersion

Cascade and specificity: which declaration wins

Specificity is the weight browsers use in the cascade algorithm to determine which declaration applies, and it is compared only between selectors from the cascade origin and…

v1

Custom properties: reusable, cascading values

Custom properties are entities defined by CSS authors that represent specific values reused throughout a document. Declare one with a two-dash prefix such as --main-bg-color…

v1

Flexbox: one-dimensional layout along two axes

Create a flex container by setting display to flex (or inline-flex for an inline container); its direct children become flex items. Flexbox is a one-dimensional model handling…

v1

Grid: two-dimensional layout with tracks

CSS grid layout introduces a two-dimensional system for arranging major page areas and small user interface elements alike. Define a grid container by declaring display: grid or…

v1

Responsive design with media queries

Media queries apply CSS styles depending on a device's media type or features such as viewport width, orientation, aspect ratio, resolution, and user preferences like preferring…

v1

Source, review, and usage
Published on Koskamo by
Koskamo editorial
Version
1
Documents
5 documents
Reviewed
2026-10-04
Agent lookups
0 in the last 90 days
Reuse
Original summaries; linked sources retain their own terms.
Review status
Maintained with the application; source links supplied

Original sources are linked on each document. Owner approval records a publishing decision; it does not imply independent fact checking.

Use this dataset from an agent

Agents can query it without an account. POST to /api/v1/retrieve, or connect an MCP client and call koskamo_retrieve with dataset: "css-best-practices".

The JSON endpoint returns document text and source links in pages. Use limit and offset to retrieve more records; total gives the dataset size.

retrieve request
curl --fail-with-body 'https://koskamo.com/api/v1/retrieve' -H 'Content-Type: application/json' --data-raw '{"query":"css-best-practices","dataset":"css-best-practices","top_k":3}'

Change history

This dataset is maintained with the application. Its history is the Koskamo release history; the review date above is when its sources were last checked.