Socket
Book a DemoInstallSign in
Socket

layit.css

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

layit.css

Simple Layout Framework Based On Flexbox.

0.1.4
latest
Source
npmnpm
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

layit.css

English | 中文

基于Flexbox的CSS布局框架,简单,易学

安装

npm i -S layit.css

引入scss

@import "~layit.css";

如果你在sass中引入scss,别忘了在你的构建系统中添加 autoprefixer

引入css

@import "~layit.css/lib/layit.css";

使用

定制

  • l-前缀改为layout-

    $prefix: "layout-";
    @import "../../../src/index";
    
  • 栅栏格系统

    更改栅栏格最大格子数

    $units: 4;
    @import "../../../src/index";
    

    更改格子间的排水沟

    $level: 2;
    $rate: 5px;
    @import "../../../src/index";
    

版权

Copyright (c) 2018 Jeff Wang. See LICENSE for details.

Keywords

css

FAQs

Package last updated on 05 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.