codemarch Profile picture
Jan 26 11 tweets 3 min read
A quick glance at "CSS Grid Container "

Thread🧵
🔶 CSS Grid Container

To make an HTML element behave as a grid container, you have to set the `display`property to `grid` or  `inline-grid`
🔹 The grid-template-columns Property

The `grid-template-columns` property defines the number of columns in your grid layout, and it can define the width of each column.
Example👇
🔹The grid-template-rows Property

The `grid-template-rows` property defines the height of each row.
Example👇
🔹 The justify-content Property

The `justify-content` property is used to align the whole grid inside the container.
Example👇
🔹The align-content Property

The `align-content` property is used to *vertically* align the whole grid inside the container.
Example👇
if you enjoyed this thread, please like, comment, and retweet the opening tweet.
🔹Follow @codemarch
🔹You can also check our HTML & CSS Visual Treat!😍for more!!!
codemarch.gumroad.com/l/hxazr

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with codemarch

codemarch Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @codemarch

Jan 25
A quick glance "CSS Grid Item"

Thread🧵
🔶 CSS Grid Item

🔹 Child Elements (Items)

A grid *container" contains grid "items".

By default, a container has one grid item for each column, in each row, but you can style the grid items so that they will span multiple columns and/or rows.
🔶 The grid-column Property:

The `grid-column` property defines on which column(s) to place an item.

You define where the item will start, and where the item will end.
Read 11 tweets
Jan 24
🔥Learn to Build websites in 30 Days.

Thread: 🧵
Here's what you will get:

✅ 24 * 7 Doubt Support
✅ Build 20+ Projects
✅ Daily Assignments
✅ 30 Codepen Projects to practice.
✅ Next 30 days Plan of Action
✅ 100+ Quiz Ques.
✅ Content Creation Guide
✅ eBooks worth $20 for Free.
50% OFF - Only 25 Seats left.
Read 14 tweets
Jan 24
A quick glance agt "CSS Grid Introduction "

Thread🧵
🔶 CSS Grid Introduction

🔹 Grid Layout

The CSS Grid Layout Module offers a grid-based layout system, with rows and columns, making it easier to design web pages without having to use floats and positioning.
To make an HTML element behave as a grid container, you have to set the `display` property to `grid` or  `inline-grid`

🔹 Grid Elements

A grid layout consists of a parent element, with one or more child elements.
Read 11 tweets
Jan 23
A quick glance at "CSS Flex Items"

Thread🧵
🔶 CSS Flex Items

🔹 Child Elements (Items)

The direct child elements of a flex container automatically become flexible (flex) items.

Example
🔹The flex item properties are:

- `order`
- `flex-grow`
- `flex-shrink`
- `flex-basis`
- `flex`
- `align-self`

🔹 The order Property

The `order` property specifies the order of the flex
Read 15 tweets
Jan 22
🎯Learn to Build websites in 30 Days.

Thread: 🧵
Here's what you will get:

✅ 24 * 7 Doubt Support
✅ Build 20+ Projects
✅ Daily Assignments
✅ 30 Codepen Projects to practice.
✅ Next 30 days Plan of Action
✅ 100+ Quiz Ques.
✅ Content Creation Guide
✅ eBooks worth $20 for Free.
50% OFF - Only 25 Seats left.
Read 14 tweets
Jan 22
A quick glance at "CSS Flexbox Model (Flex Container)"

Open this MEGA-Thread🧵 to learn more about "CSS Flexbox"👇🏻
🔶 CSS Flexbox Model (Flex Container)

To start using the Flexbox model, you need to first define a flex container.
Example👇
Read 19 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(