CSS Flex Box: Code:( Properties: values; )

 CSS Flex: Code:  

( Properties: values; )


Code Page Link -

https://csscoderecord.blogspot.com/2025/06/css-flex-box-code-properties-values.html/

Output Page Link - 

https://csscoderecord.blogspot.com/2025/06/css-flex-box-output-properties-values.html/


 1. Logo Link - 

 https://lh3.google.com/u/0/d/1Ek8TuJ5T6smVvtFCtJMjZT69dzgyTCNE=s320

 



2. Image Link - 

https://lh3.google.com/u/0/d/1_BSZ3pPo0LMkGvOjv2U-vYuSZvt-Alk9=s2048

Flex Box: Reference

Properties: values; :

Index:

A. Perants (div/Content): 
  1. display: a) flex; ( Enables flex layout )
  2. flex-direction: a) row; (default – horizontal left to right), b) row-reverse;  c) row-reverse-start; d) row-reverse-end; e) column-reverse; f) column-reverse-start; g) column-reverse-end; h) start-left, i) start-right
  3. justify-contant: - (horizontal alignment in a row)  a) flex-start; b) flex-end; c) center; d) space-between, e) space-around, g) space-evenly  
  4. align-items: (vertical alignment in a row) a) flex-start; b) flex-end; C) center; d) baselinee) stretch
  5. flex-wrap: a) nowrap; (default), b) wrap; C) wrap-reverse
  6. align-content: (when wrapping) a) flex-start; b) flex-end; c) center; d) space-between; e) space-around; f) stretch;

Flexbox Reference

B. Child (div/Content): 

  1. flex: a) 1; ( — shorthand for flex-grow: 1; flex-shrink: 1; flex-basis: 0%) /* to cover perant */
  2. flex-grow: a) 1; b) 2; c) 3; (— grows to fill space proportionally) /* to cover perant */
  3. flex-srinc: a) 0;  b) 1; ( how much item shrinks when space is tight)
  4. flex-basis: 300px; ( initial size of flex item before space is distributed )
  5. order: 1, /2, /3; etc. — changes item position in layout
  6. align-selfa) auto; b) flex-start; c) flex-end; d) center; e) baseline; f) stretch;
  7. align-item: a) flex-start, b) flex-end, c) center; d) baseline; e) strech; 
  8. justify-contant: a) center, a) flex-start; b) flex-end, d) space-between, e) space-around, ( container properties, usually used in permanent)
  9. justify-item: center, flex-start, flex-end, space-between, space-around, 

  10. align-contant: centre, flex-start, flex-end, space-around, space-between;
  11. . perant:nth-child(1/2/3/4) {flex-grow: 2/3/4; /* individual size increase X-2/3/4 */} or
  12. . perant:nth-child(1/2/3/4) {flex-basis: 300px; /* individual size by 300px */}
  13. .parent > div:nth-child(2) {flex-grow: 3; /* make 2nd item grow 3x */}
  14. .parent > div:nth-child(3) {
      flex-basis: 300px; /* initial width of 300px for 3rd item*/

Details: (Links)

Output/Display: - Links

A (perant) 

A.1. " direction:  ;". Output/Display: Links

a) direction: flex
b) 
C) 
Xfguu

A.2. " flex:  ;". Output/Display: Links

a)
b) 
C) 
Dgghfh

Output/Display: - Links

(Child) 

B.1. " direction:  ;". Output/Display: Links

a) direction: flex
b) 
C) 
Ttyvgy

B.2. " flex:  ;". Output/Display: Links

a)
b) 
C) 

Full Code: - Links

A (perant) 

A.1. - "direction: ; " Full Code: - Links 

a) direction: flex; 
b) 
C) 

A.2. - "direction: ; " Full Code: - Links 

a) direction: flex; 
b) 
C) 

Full Code: - Links

(Child) 

B.1. - " : ; " Full Code: - Links

a) direction: flex; 
b) 
C) 

B.2. - " : ; " Full Code: - Links

a) direction: flex; 
b) 
C) 

Fghh


Project: Full Code:

Full Code: A (perant)

A.1. - (persant) " direction: " 

a) direction: flex; 

Code-Output - Link:

Full Code : 


b) direction: flex; 

Code-Output - Link:

Full Code : 


A.2. - (persant) " direction: " 

a) direction: flex; 

Code-Output - Link:

Full Code : 


b) direction: flex; 

Code-Output - Link:

Full Code : 


Full Code: B (Child)

B.1. - (Child) " direction: " 

a) direction: flex; 

Code-Output - Link:

Full Code : 


b) direction: flex; 

Code-Output - Link:

Full Code : 




B.2. - " : ; " Full Code:

a) direction: flex; 

Code-Output - Link:

Full Code : 


b) direction: flex; 

Code-Output - Link:

Full Code : 


Comments

Popular posts from this blog

CSS Flex Box: Output: ( Properties: values; )

CSS Flex Box: Output