Coder Social home page Coder Social logo

purevtsooj / spectre Goto Github PK

View Code? Open in Web Editor NEW

This project forked from picturepan2/spectre

0.0 2.0 0.0 1.58 MB

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

Home Page: https://picturepan2.github.io/spectre/

License: MIT License

CSS 13.00% HTML 86.92% JavaScript 0.08%

spectre's Introduction

Spectre.css

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

  • lightweight and clean starting point for your project and prototype
  • flexbox, responsive and mobile-friendly layout
  • carefully designed elements
  • built in useful components and utilities
  • responsive email templates (soon)

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 3 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM and Bower.

Install manually

Download the compiled and minified Spectre CSS file.

Install with NPM

$ npm install spectre.css

Install with Bower

$ bower install spectre.css

And include it in your website or Web app <head> part.

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

Compiling custom version

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

Documentation and demos

Elements

  • typography - headings, paragraphs, blockquote, lists and code elements, optimized for 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
  • media - responsive image and video class

Layout

  • flexbox-grid - flexbox based responsive grid system
  • responsive - responsive grid and utilities
  • navbar - header layout of apps and websites
  • empty states - empty states/blank slates for first time use, empty data and error screens

Components

  • avatars - user profile pictures or name initials rendered avatar
  • chips - complex entities in small blocks
  • autocomplete - form component provides suggestions while you type
  • tooltips - simple tooltip built entirely in CSS
  • labels - formatted text tags for highlighted, informative information
  • badges - unread number indicators
  • toasts - showing alerts or notifications
  • menus - list of links or buttons for actions and navigation
  • navigation - breadcrumb, tabs and pagination
  • modals - flexible dialog prompts
  • cards - flexible content containers

Utilities

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

Tools

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 two)
  • Edge (last two)
  • Firefox (last two)
  • Internet Explorer 10+
  • Microsoft Edge
  • Opera (last two)
  • Safari 6+

Currently maintained by Yan Zhu. Feel free to submit a pull request. Help is always appreciated.

spectre's People

Contributors

jkochis avatar marcobiedermann avatar picturepan2 avatar rabbitears avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.