🧠
NCSS
  • Introduction
  • Classes
    • Namespaces
    • Structural Classes
    • Component Classes
    • Type Classes
    • Modifier Classes
    • Functional Classes
    • Exceptions
  • Examples
    • Layout
    • Form
    • Menu
Powered by GitBook
On this page
  • Syntax
  • Overview
  1. Classes

Structural Classes

Structural classes provide a semantic context for the underlying elements and are preferably utilized to define fragments of a layout.

Syntax

.{context}
.{context}-{name}

Overview

Tag
Example

article

.content

body

.body

footer

.footer

header

.header

main

.main

nav

.navigation

section

.section

aside

.sidebar

PreviousNamespacesNextComponent Classes

Last updated 3 years ago