CSS
CSS (Cascading Style Sheets) is a stylesheet language for specifying the presentation and layout of structured documents.
Build a Website with ChatGPT
CSS is the stylesheet language used to specify the presentation and layout of documents, including web pages.
- How it is used
- Styles the fonts, colors, spacing, and layout of ChatGPT-generated web pages.
- How deep it goes
- Defines properties, declarations, and rules, then annotates generated stylesheets and offers edits rather than advanced CSS internals.
- Examples
- Shows a pun-display rule, a personal-homepage stylesheet, and a journal class-selector error.
- What you can do after
- Apply it via ChatGPT to generate stylesheets, customize page appearance, and diagnose a mismatched class selector.
WordPress Power Toolkit: Harness AI to build next-level websites
CSS code is source text written in CSS that declares styling rules for structured web content.
- How it is used
- Refines a WordPress site’s appearance beyond theme defaults, from typography and layout to subtle animation.
- How deep it goes
- Explains selectors, properties, values, classes, and visual inspection through short examples, while treating full CSS fluency as optional.
- Examples
- Uses site-wide heading sizes, a heading fade-in, a blue page title, and an image hover effect.
- What you can do after
- Apply it via YellowPencil or AI-generated CSS, publish changes in WordPress, and inspect their visible effects.
Read how WordPress Power Toolkit: Harness AI to build next-level websites explains CSS →
Web Design Playground, Second Edition
CSS is a stylesheet language for specifying the visual presentation and layout of documents rendered by a browser.
- How it is used
- Defines a web page’s presentation while HTML supplies its structure.
- How deep it goes
- Works through rule syntax, placement methods, selectors, units, and visual properties, but leaves the cascade’s resolution algorithm unexplained.
- Examples
- Uses a 36-pixel heading rule, a personal home page, and live HTML/CSS editing exercises.
- What you can do after
- Build it from scratch: style a personal home page with typefaces, colors, and section-by-section CSS.
Read how Web Design Playground, Second Edition explains CSS →
A Pythonic Adventure: From Python basics to a working web app
CSS is a stylesheet language that specifies the presentation of HTML elements, including colors, fonts, sizes, and backgrounds.
- How it is used
- Styles HTML pages for a coffee shop project by centralizing fonts, colors, backgrounds, and other presentation choices.
- How deep it goes
- Explains stylesheet purpose, separation, combining rules, and basic selectors, but stops short of deeper CSS mechanics.
- Examples
- Demonstrates heading fonts, page backgrounds, form colors, linked stylesheets, and a coffee shop homepage.
- What you can do after
- Apply it by editing linked CSS files to personalize an HTML coffee shop page.
Read how A Pythonic Adventure: From Python basics to a working web app explains CSS →
Tiny CSS Projects
CSS3 is the generation of Cascading Style Sheets specifications that introduced and expanded features through separate modules.
- How it is used
- Controls web-page presentation while HTML provides structure and content.
- How deep it goes
- Explains application methods, rule syntax, invalid declarations, and browser styles, then applies CSS in visual projects.
- Examples
- Uses a single-column article, responsive cards, a checkout cart, and styled form controls.
- What you can do after
- Build it from scratch: link a stylesheet, write rules for HTML elements, and adjust layouts for narrow and wide screens.
React in Depth
CSS (Cascading Style Sheets) is a stylesheet language for specifying the presentation and layout of documents such as HTML pages.
- How it is used
- Styles React interfaces while serving as the baseline for comparing component-styling approaches.
- How deep it goes
- Works through CSS imports, class-based button variants, and practical trade-offs; does not teach CSS syntax from scratch.
- Examples
- Uses a button with outline, disabled, custom-color, and dynamic-width variants, plus a cross-approach comparison table.
- What you can do after
- Apply it via Vite with imported CSS files and class names, then evaluate whether project complexity warrants another styling approach.
CSS in Depth, Second Edition
CSS is a stylesheet language for describing the presentation of structured documents such as HTML pages.
- How it is used
- Uses declarative rules to style page elements while managing conflicts and changing rendering constraints.
- How deep it goes
- Works from declaration syntax through conflicting selectors and practical stylesheet organization, rather than treating CSS as a property reference.
- Examples
- Builds a page header with conflicting heading fonts and contrasts separate fallback rules for a newer selector.
- What you can do after
- Diagnose/debug with it when rules conflict, and organize reusable component styles to limit unexpected effects.
Vanilla Web
Vanilla CSS is an approach to styling web interfaces with modern CSS directly, without CSS pre-compilers or core styling libraries.
- How it is used
- Defines layout, design, themes, and animation for HTML-based web interfaces without a core styling framework.
- How deep it goes
- Works through maintainability choices and modern CSS primitives, but does not attempt a comprehensive CSS reference.
- Examples
- Uses a minimal reset, root-level design tokens, and a nested navigation-button rule to illustrate native styling.
- What you can do after
- Build it from scratch with small semantic stylesheets, native layout systems, responsive rules, and motion preferences.
Web Design Playground
A style sheet language used to describe the presentation of structured documents written in markup languages such as HTML.
- How it is used
- Controls a web page’s presentation while HTML supplies its structure.
- How deep it goes
- Works through selectors, declarations, and rule syntax, then introduces overlapping rules through inheritance, the cascade, and specificity.
- Examples
- Uses an h1 font-size rule, an h2 practice prompt, and CSS for landing-page elements.
- What you can do after
- Build it from scratch: write rules that style multiple elements and revise their appearance by changing one declaration.
Web Components in Action
CSS is the stylesheet language used to describe the presentation of structured web documents.
- How it is used
- Uses CSS to shape custom-element interfaces and iterate visual layouts before integrating component logic.
- How deep it goes
- Demonstrates concrete selectors and visual properties, but defers deeper CSS details and broader organization concerns.
- Examples
- Styles a custom slider and a customizable business card with backgrounds, images, typography, alignment, gradients, and shadows.
- What you can do after
- Apply CSS to build and refine custom-element interfaces while keeping visual treatment separate from component logic.
Math for Web Design
CSS is the stylesheet language used to describe the presentation and layout of documents written in markup languages.
- How it is used
- Deploys declarative calculations for layout, sizing, spacing, typography, responsive behavior, and transitions.
- How deep it goes
- Explains units, constraints, positioning, and box-model calculations, but stops short of complex procedural logic.
- Examples
- Uses centering, calc() widths, clamp() typography, responsive breakpoints, selectors, and transition easing as concrete applications.
- What you can do after
- Apply it via CSS math functions to build more flexible layouts, bounded type scales, precise spacing, and responsive interfaces.
The Well-Grounded Python Developer: How the pros use Python and Flask
CSS is a stylesheet language used to describe the presentation and layout of documents rendered by web clients.
- How it is used
- Defines the presentation layer that controls how HTML content renders in a browser.
- How deep it goes
- Explains CSS’s role and practical styling challenges, but stops short of syntax, selectors, and implementation techniques.
- Examples
- Uses hand-crafted CSS for an initial web application and considers continuing CSS styling for the MyBlog application.
- What you can do after
- Evaluate how CSS shapes user experience and why larger applications require consistent, normalized, responsive styles.
Read how The Well-Grounded Python Developer: How the pros use Python and Flask explains CSS →
Pro Angular 16
CSS is the stylesheet language used to describe the presentation of structured documents, including web pages.
- How it is used
- Styles Angular templates, controls layout, reflects active routes, and integrates global presentation frameworks.
- How deep it goes
- Demonstrates selectors, external files, component association, and build configuration, but defers detailed Sass instruction.
- Examples
- Uses class selectors, a product-form stylesheet, Bootstrap configuration, active-route styling, and framework-conflict correction.
- What you can do after
- Apply it via Angular component styles, global stylesheets, Bootstrap, and route-aware attributes.
Rust Servers, Services, and Apps
CSS is a stylesheet language for specifying the presentation and visual styling of structured documents such as HTML.
- How it is used
- Uses stylesheets to format static HTML pages and server-rendered registration forms in browser-based web applications.
- How deep it goes
- Demonstrates selectors, declarations, layout, colors, backgrounds, and positioning through examples, without developing CSS internals.
- Examples
- Shows a registration stylesheet, a red-heading stylesheet, linked HTML pages, background images, buttons, and a fixed footer.
- What you can do after
- Builds basic stylesheets, links them from HTML, serves them statically, and verifies applied styling in a browser.
Also covered in
- HTML5 in Action
- React Quickly, Second Edition
- Building User-Friendly DSLs
- D3.js in Action, Third Edition
- Learn Go with Pocket-Sized Projects
- Build Your Own Robot: Using Python, CRICKIT, and Raspberry Pi
- Build Python Web Apps with Streamlit
- Design for Developers
- Acing the Frontend InterviewIn early access (MEAP)
- Architecting AccessibilityIn early access (MEAP)
What to know first
- HTMLHTML is the standard markup language for structuring content and elements in documents on the web.
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- headingA heading is a textual or semantic label that introduces or identifies a section of content and may indicate its level in a document hierarchy.
- HTML elementAn HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.
Related concepts
- CSS selectorhas part · A CSS selector is a pattern that matches elements in a document according to their names, attributes, relationships, states, or other conditions.
- CSS nestingused by · CSS nesting is a stylesheet feature that allows rules to contain nested selectors and declarations expressing hierarchical or related selector structures.
- D3.jsused by · D3.js is an open-source JavaScript library for binding data to documents and creating dynamic, interactive visualizations in web browsers.
- declarative programmingkind of · Declarative programming is a programming paradigm that specifies desired results, states, or relationships without prescribing the step-by-step procedure to achieve them.
- domain-specific languagekind of · A domain-specific language is a language or notation tailored to expressing concepts, operations, or solutions within a particular problem or application domain.
Questions about CSS
What is CSS?
CSS (Cascading Style Sheets) is a stylesheet language for specifying the presentation and layout of structured documents.
Which Manning books explain CSS?
Build a Website with ChatGPT, WordPress Power Toolkit: Harness AI to build next-level websites, Web Design Playground, Second Edition, A Pythonic Adventure: From Python basics to a working web app, Tiny CSS Projects, React in Depth, CSS in Depth, Second Edition, Vanilla Web and 6 more.
What should I know before learning CSS?
Manning books that teach CSS usually introduce HTML, JavaScript, heading and HTML element first.
What is CSS a kind of?
CSS is a kind of declarative programming. Declarative programming is a programming paradigm that specifies desired results, states, or relationships without prescribing the step-by-step procedure to achieve them.
What are the parts of CSS?
CSS includes CSS selector and declaration block.
What is CSS also called?
CSS is also called Cascading Style Sheets.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.













