最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

Reindeer.css–前端开发人员的轻量级可定制CSS框架_html/css

来源:动视网 责编:小采 时间:2020-11-27 16:37:11
文档

Reindeer.css–前端开发人员的轻量级可定制CSS框架_html/css

Reindeer.css–前端开发人员的轻量级可定制CSS框架_html/css_WEB-ITnose:来自: https://estkin.github.io/reindeer.css/ Reindeer.css 前端开发人员的轻量级可定制CSS框架。 # Status At the time we are working on Reindeer as much as possible, some components are m
推荐度:
导读Reindeer.css–前端开发人员的轻量级可定制CSS框架_html/css_WEB-ITnose:来自: https://estkin.github.io/reindeer.css/ Reindeer.css 前端开发人员的轻量级可定制CSS框架。 # Status At the time we are working on Reindeer as much as possible, some components are m


来自: https://estkin.github.io/reindeer.css/

Reindeer.css

前端开发人员的轻量级可定制CSS框架。

# Status

At the time we are working on Reindeer as much as possible, some components are missing, but we will add them very soon!

This documentation is updated for Reindeer's version 0.1.3

# Install Reindeer

Recommended installation is with node package manager

Run this command in terminal:
npm install --save reindeer.css

Or just download master branch from github repository (newest versions/releases are there quicker than on npm; but they could be broken or not production ready)

https://github.com/estkin/reindeer.css/archive/master.zip

# Use Reindeer

If you succesfully get Reindeer, you can now link it with your HTML document

This comes into tag:

# How to customize

Customization is pretty easy, you just need those three things:

  • Gulp installed
  • Reindeer's source code
  • Some text editor (even TextEdit on Mac/Notepad on Windows)
  • If you have all these things, open src/base/_var.css , in this file, you can customize everything what is included. More customization coming soon...

    Example:
    $link-color: #333333; change to $link-color: #d2436d;
    for changing color

    After your customizing open terminal in root directory of Reindeer's source code and run command npm run both , this command will produce compiled + minified file with your custom variables

    # Typography

    Nothing special at the moment

    Heading 1

    Heading 2

    Heading 3

    Heading 4

    Heading 5

    Heading 6

    Paragraph

    # Buttons

    Stylized for use with link and button [not input] (You can use it with div, but it has cursor: pointer on it)

    Example:





    # Boxes

    Same as buttons but for blocking use, like layout things, etc. (No cursor: pointer on it)

    Red box!

    Green box!

    Orange box!

    Violet box!

    Gray box!

    Asphalt box!

    Example:
    Red box!
    Green box!
    Orange box!
    Violet box!
    Gray box!
    Asphalt box!

    # Grid

    Reindeer is based on flexbox magic

    We have 2 row types:

  • .row - just normal display: flex row
  • .row-center - display: flex row with centering objects
  • And lot of .row-item-* classes:

  • .row-item
  • .row-item--(from 2 to 12)
  • .row-item--half
  • .row-item--third
  • .row-item--quarter
  • Item 1

    Item 5

    Item 1

    Item 4

    Item 1

    Item 3

    Item 1

    Item 2

    Item 2

    Item 3

    Item half

    Item 1

    Or just do crazy things like this (not really crazy tho, haha)

    Item 1

    Item 1

    Item 1

    Item 2

    Item 2

    Item 10

    Item 2

    Item 2

    Item 2

    Item 4

    Item 10

    Example:

    Item 2
    Item 10
    Item 2

    文档

    Reindeer.css–前端开发人员的轻量级可定制CSS框架_html/css

    Reindeer.css–前端开发人员的轻量级可定制CSS框架_html/css_WEB-ITnose:来自: https://estkin.github.io/reindeer.css/ Reindeer.css 前端开发人员的轻量级可定制CSS框架。 # Status At the time we are working on Reindeer as much as possible, some components are m
    推荐度:
    标签: 开发 html css
    • 热门焦点

    最新推荐

    猜你喜欢

    热门推荐

    专题
    Top