spectre 0,3,2,0,4,1,5,0 Bower gulp npm

Spectre.css - A lightweight, responsive and modern CSS framework.


Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development.

  • Lightweight (~10KB gzipped) starting point for your projects
  • Flexbox-based, responsive and mobile-friendly layout
  • Carefully designed elements and components

Spectre is a side project based on years of CSS development work on a large web service project. Spectre only includes modern base styles, responsive layout system, CSS components and utilities, and it can be modified for your project with LESS compiler.

Read the documentation to learn more.

Getting started

There are 4 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM, Yarn and Bower.

Install manually

Download the compiled and minified Spectre CSS file.

Install with NPM

$ npm install spectre.css --save

Install with Yarn

$ yarn add spectre.css

Install with Bower

$ bower install spectre.css --save

And include spectre.css located in /docs/dist in your website or Web app <head> part.

<link rel="stylesheet" href="spectre.min.css" />

Compiling custom version

You can compile your custom version of Spectre.css. Read the documentation.

Documentation and examples


  • Typography - headings, paragraphs, semantic text, blockquote, lists and code elements, optimized for east asian fonts
  • Tables - organize and display data
  • Buttons - button styles in different types and sizes, and even button groups
  • Forms - input, radio, checkbox, switch and other form elements
  • Icons - single-element, responsive and pure CSS icons
  • Labels - formatted text tags for highlighted, informative information
  • Codes - inline and multiline code snippets
  • Media - responsive images, figures and video classes


  • Flexbox-grid - flexbox based responsive grid system
  • Responsive - responsive grid and utilities
  • Navbar - layout container that appears in the header of apps and websites
  • Panels - flexible view container layout with auto-expand content section
  • Empty states - empty states/blank slates for first time use, empty data and error screens


  • Autocomplete - form component provides suggestions while you type
  • Avatars - user profile pictures or name initials rendered avatar
  • Badges - unread number indicators
  • Bars - progress of a task or the value within the known range
  • Cards - flexible content containers
  • Chips - complex entities in small blocks
  • Menus - list of links or buttons for actions and navigation
  • Modals - flexible dialog prompts
  • Navigation - breadcrumb, tabs, pagination and navs
  • Popovers - small overlay content containers
  • Steps - progress indicators of a sequence of task steps
  • Tiles - repeatable or embeddable information blocks
  • Toasts - showing alerts or notifications
  • Tooltips - simple tooltip built entirely in CSS


  • Utilities - layout, positions, display, text, shapes, loading things


  • Accordions - used to toggle sections of content
  • Calendars - date or date range picker and events display
  • Carousels - slideshows for cycling images
  • Comparison Sliders - sliders for comparing two images, built entirely in CSS
  • Filters - CSS only content filters
  • Meters - representing the value within the known range
  • Parallax - acting like Apple TV/tvOS hover parallax effect, built entirely in CSS
  • Progress - indicators for the progress completion of a task
  • Sliders - selecting values from ranges
  • Timelines - ordered sequences of activities

Browser support

Spectre uses Autoprefixer to make most styles compatible with earlier browsers and Normalize.css for CSS resets. Spectre is designed for modern browsers. For best compatibility, these browsers are recommended: - Chrome (last 4) - Microsoft Edge (last 4) - Firefox (last 4) - Safari (last 4) - Opera (last 4) - Internet Explorer 10+

Designed and built with ♥ by Yan Zhu. Feel free to submit a pull request. Help is always appreciated.

Related Repositories



Spectre.css - A lightweight, responsive and modern CSS framework. ...



Spectre & Meltdown vulnerability/mitigation checker for Linux & BSD ...



SpecuCheck is a Windows utility for checking the state of the software mitigations and hardware against CVE-2017-5754 (Meltdown), CVE-2017-5715 (Spectre v2), CVE-2018-3260 (Foreshadow), and CVE-2018-3639 (Spectre v4) ...



Summary of the patch status for Meltdown / Spectre ...



BDD Framework and test runner for Swift projects and playgrounds ...

Top Contributors

picturepan2 marcobiedermann jkochis roybarber rabbitears


package version
dev gulp ^3.9.1
gulp-clean-css ^3.0.3
gulp-csscomb ^3.0.8
gulp-less ^3.3.0
gulp-rename ^1.2.2
less-plugin-autoprefix ^1.5.1


-   v0.1.26 zip tar
-   v0.1.23 zip tar
-   v0.1.22 zip tar
-   v0.1.20 zip tar
-   v0.1.19 zip tar