Marilyn         Email Us   
Presentation 1
 
     grid
#container {
display: grid;
grid-template-columns: minmax(max-content, 300px) minmax(200px, 1fr) 150px;
grid-gap: 5px;
box-sizing: border-box;
height: 200px;
width: 100%;
background-color: #8cffa0;
padding: 10px;
}

#container > div {
background-color: #8ca0ff;
padding: 5px;
}

Item as wide as the content,
but at most 300 pixels.
Item with flexible width but a minimum of 200 pixels.
Inflexible item of 150 pixels width.
The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.
This grid layout has 3 columns:
Apart from static values, the minmax() function also accepts percentage units and the new fraction (fr) unit as arguments. By using them, we can achieve custom grids that are both responsive and change their dimensions according to the available space.
The code below results in a grid in which the width of the first column ranges between 50% and 80% while the second and the third one evenly share the remaining space.

grid-template-columns: minmax(50%, 80%) 1fr 1fr;
1 The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.
2 The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.
3
4
5 The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.
6 The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.

6a The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.
7
8
9
10
11
Marylin as ever
12 The grid-template-columns Property
Use the grid-template-columns property to define the number of columns in the grid layout.

13
Hello Bill
The grid-template-columns Property Use the grid-template-columns property to define the number of columns in the grid layout.
The grid-template-columns Property Use the grid-template-columns property to define the number of columns in the grid layout.
14
15
16
17
18
Nouvelle Collection      |     blog
© fasteshops.co.uk 2018
Categories      |     Shop Now      |     gallery      |     gallery_1(horizontal)      |     Cookies and Privacy Policy       |     Hollywood      |     Contact Us
     © Talking Birds Ltd