Skip to content

Trevald/figout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Figout

Human friendly layout helper. Inspired by Figmas auto-layout. View demo

Parent classes

<div class="
  frame                   <!-- Mandatory, indicates that element should act like a parent -->
  horizontal|vertical     <!-- Mandatory, sets the direction for child elements -->
  left|center|right       <!-- Mandatory, horizontal alignment for children -->
  top|middle|bottom       <!-- Mandatory, vertical alignment for children -->
"></div>                       

Child classes

<div class="
  horizontal-hug-content|horizontal-fill-container
  vertical-hug-content|vertical-fill-container
">
<!--  Hug content will shrink it, fill container will expand it-->

About

Human friendly layout helper. Inspired by Figmas auto-layout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages