StefanKovac / Flex Layout Attribute
Licence: mit
HTML layout helper based on CSS flexbox specification —
Stars: ✭ 705
Projects that are alternatives of or similar to Flex Layout Attribute
Flex Layout
Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API
Stars: ✭ 5,705 (+709.22%)
Mutual labels: layout, flexbox
nice-react-layout
Create complex and nice Flexbox-based layouts, without even knowing what flexbox means
Stars: ✭ 70 (-90.07%)
Mutual labels: layout, flexbox
Interfacss
The CSS-inspired styling and layout framework for iOS
Stars: ✭ 92 (-86.95%)
Mutual labels: layout, flexbox
flexbin
Pure CSS, flexible and gapless image gallery layout like Google Images and 500px.com
Stars: ✭ 93 (-86.81%)
Mutual labels: layout, flexbox
gymnast
🤸 Configurable grid and layout engine for React
Stars: ✭ 35 (-95.04%)
Mutual labels: layout, flexbox
Flexbox React
Unopinionated, standard compliant flexbox component. No propietary APIs. Nothing but flexbox.
Stars: ✭ 319 (-54.75%)
Mutual labels: layout, flexbox
Flexlib
FlexLib是一个基于flexbox模型,使用xml文件进行界面布局的框架,融合了web快速布局的能力,让iOS界面开发像写网页一样简单快速
Stars: ✭ 1,569 (+122.55%)
Mutual labels: layout, flexbox
flexboxes
CSS flexbox framework with pure flexbox grid ability
Stars: ✭ 27 (-96.17%)
Mutual labels: layout, flexbox
Flexlayout
FlexLayout adds a nice Swift interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.
Stars: ✭ 1,342 (+90.35%)
Mutual labels: layout, flexbox
Flexbox
CSS library for easier work with flex boxes
Stars: ✭ 17 (-97.59%)
Mutual labels: layout, flexbox
react-flex-columns
Easy layout columns for React - Using Flexbox under the hood.
Stars: ✭ 18 (-97.45%)
Mutual labels: layout, flexbox
React Flexview
A powerful React component to abstract over flexbox and create any layout on any browser
Stars: ✭ 276 (-60.85%)
Mutual labels: layout, flexbox
Flex 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>
interactive demo
Try live —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:
gulp
or set watcher:gulp watch
Learn more
Interactive demo, documentation and snippets — http://progressivered.com/fla/
License
FLA is released under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].