프로젝트
GitHub에서 보기
StefanKovac/flex-layout-attribute
소개
CSS Flexbox 명세를 기반으로 한 HTML 레이아웃 도우미입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFlex Layout Attribute (FLA)
Layout helper based on CSS flexbox specification designed to serve you as quick flexbox shorthand by using two custom html attributes — layout and self.
Basic example
Items distributed in a row and centered within container:
<div layout="row center-center">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
Try live — interactive demo
Benefits
- Dedicated HTML attribute — separated layout markup, semantic & concise syntax.
- Beyond grids — ratio relationships, element sizes based on a scale.
- Rapid prototyping — design in browser, quick iterations, no need to write CSS for layout.
- Solid base — ease to extend and customize.
Quick start
Several quick start options are available:
- Download the latest release
- Clone the repo:
git clone https://github.com/StefanKovac/flex-layout-attribute.git. - Install with npm:
npm install flex-layout-attribute.
Usage
- Insert flex-layout-attribute.min.css in document HEAD:
<link href="path/to/css/flex-layout-attribute.min.css" rel="stylesheet">
- Add layout attribute to html elements:
<div layout="row center-justify">
...
</div>
Development
- Clone the repo:
git clone https://github.com/StefanKovac/flex-layout-attribute.git. - Install dependencies:
npm run setup. - Build FLA:
gulpor set watcher:gulp watch
Learn more
Interactive demo, documentation and snippets — http://progressivered.com/fla/
License
FLA is released under the MIT license.
관련 프로젝트 살펴보기
불러오는 중…
