Spectre.css is a lightweight, responsive, and modern CSS framework (current stable v0.5.9, last released March 2020, maintenance mode). It provides a flexbox-based grid system, elegant components (buttons, forms, modals, navbars, etc.), and utility classes, all weighing in at ~10KB gzipped. Unlike full-featured frameworks like Bootstrap or Foundation, Spectre focuses on minimalism and simplicity, offering only essential styles without JavaScript dependencies. It supports Sass customization via SCSS variables and mixins, and is distributed as compiled CSS via CDN (unpkg, cdnjs) or package managers (npm, yarn, bower). Ideal for rapid prototyping or projects needing a clean, lightweight foundation with responsive layout and modern design.
npm install spectre.cssVerified import paths — ran on the pinned version, not inferred.
HTML file demonstrating Spectre.css grid, card component, and buttons using CDN links.
Use 'docs/dist' folder for manual install or CDN links; avoid referencing old paths.
Include spectre-icons.css separately via CDN or npm package 'spectre.css' (icons are bundled in dist).
Update class names: 'pos-*' to 'position-*'.
Include spectre-exp.css and use 'autocomplete' class prefix.
Implement JavaScript glue code to toggle classes (e.g., 'active') on components.
Use SCSS compilation or override styles manually; CSS custom properties not available in dist.
Use '@import '~spectre.css/src/spectre';' in SCSS or install as dev dependency.
Add '<link rel="stylesheet" href=".../spectre-icons.min.css">' after spectre.css.
Add '<meta name="viewport" content="width=device-width, initial-scale=1.0">' and use 'col-xs', 'col-sm', etc.
Ensure the parent has 'position: relative;' and avoid overflow:hidden on ancestor.
No dependency data recorded yet.