Need Advice? CALL: +61 417949565

Riksi - web design and development

  • Home
  • ABOUT US
  • OUR WORK
  • BLOG
  • CONTACT US
  • Home
  • BLOG
  • Web developing
  • CSS
  • Flex cheat-sheet – Complete Guide

Flex cheat-sheet – Complete Guide

Flex cheat-sheet – Complete Guide

Flex properties, all in one page

CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
.wrapper {
 
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
display: [flex || inline-flex ]
 
flex-direction: [row || row-reverse || column || column-reverse];
flex-wrap: [nowrap || wrap || wrap-reverse];
/*flex-flow is a shorthand for the flex-direction & the flex-wrap .*/
flex-flow:  &&
 
justify-content: [flex-start || flex-end || center || space-between || space-around];
align-items: [flex-start || flex-end || center || baseline || stretch];
align-content: [flex-start || flex-end || center || space-between || space-around || stretc]h;
}
 
 
 
.item {
 
-webkit-box-ordinal-group: [number];  
-moz-box-ordinal-group: [number];    
-ms-flex-order: [number];    
-webkit-order: [number];  
order: ;
 
flex-grow: ; /* default 0 */
flex-shrink: ; /* default 1 */
flex-basis:  auto |  |; /* default auto */
/*flex is a shorthand for the flex-grow, flex-shrink & the flex-basis .*/
-webkit-box-flex: none | [ <'flex-grow'> <'flex-shrink'>  <'flex-basis'> ];
-moz-box-flex:  none | [ <'flex-grow'> <'flex-shrink'>  <'flex-basis'> ];
-webkit-flex:  none | [ <'flex-grow'> <'flex-shrink'>  <'flex-basis'> ];
-ms-flex:   none | [ <'flex-grow'> <'flex-shrink'>  <'flex-basis'> ];
flex: none | [ <'flex-grow'> <'flex-shrink'>  <'flex-basis'> ];
 
align-self: auto | flex-start | flex-end | center | baseline | stretch;
 
}
 
 
Tagged under: css, flex
Nick
Saturday, 20 February 2016 / Published in CSS, Web developing

What you can read next

Compile SASS with PHP
Migrate WordPress server from Local to Live
Using WordPress Functionality outside wp

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archive

  • General
    • Smart Home
  • Web developing
    • command line
    • CSS
    • General
    • git
    • Javascript
    • Laravel
    • Magento
    • MySQL
    • PHP
    • Security
    • Shopify
    • Wordpress

Recent Posts

  • Install HomeAssistant on Raspberry pi

  • Shopify ERR_INVALID_ARG_TYPE Error

Riksi

Riksi is a creative, professional & cutting-edge custom web design and development company.

HERE TO HELP

  • BLOG
  • Contact Us
  • Our Work
  • About Us

New on Blog

  • Install HomeAssistant on Raspberry pi

    To install it, We need to connect the SD card t...
  • Shopify ERR_INVALID_ARG_TYPE Error

    fix the Internal Server Error occurred while in...

GET IN TOUCH

T: (+61) 417 949 565
Email: [email protected]

Contact Us
Fill out the form and our team will be in touch with you promptly. Thank you for your interest!

AU & NZ
T: (+613) 9014 9495
T: (+61) 417 949 565
Email: [email protected]


US & Canada
Email: [email protected]

NAME

EMAIL

PROJECT TYPE
PROJECT BUDGET

MESSAGE

Could not authenticate you.

Whats on Instagram

Loading...

Tags

.htaccess calculation cherry pick composer content css deployer documentation error flex general knowledge get started git git stash hack javascript log mysql package password php PHP Trick replace scss shopify sidebar ssh symlink sync trick ubuntu windows 10 wordpress trick wp
  • GET SOCIAL
Riksi - web design and development

© 2020 All rights reserved. Riksi.com.

TOP