Well all that we have covered so far we can do that using flexbox also.

Let's understand the 2 dimensions of grid layout

{ 14 / 21 }
We can change the position of a particular items in accordance of row and column

For example, I want my first item taking up entire row, that is from first column to last column

grid-column: 1 / 4;

{ 15 / 21 }
Alright moving forward, The next property we have is grid-template-areas which specifies the areas within the grid layout.

Each row is defined by apostrophes (' ')

Sounds confusing? Let see this in action

{ 16 / 21 }
Let's breakdown this code

grid-template-areas: 'areaName areaName areaName areaName areaName';

- Each row is defined by apostrophes (' ')
- Hence only one row in this case as there is only one pair of apostrophes
- Five "areaName" hence five columns

CONT...

{ 17 / 21 }
Now let's apply this area (areaName) to the first grid item

.one {
grid-area: areaName;
}

As you can see item1 take one entire row and 5 columns. As simple as thatπŸ˜„

{ 18 / 21 }
Play around with code here for better understanding

w3schools.com/cssref/playit.…

Write code by your own

codepen.io/prathamkumar/p…

{ 19 / 21 }
Try to play around with code here. This migt be little confusing in the beginning but once you get used to, it all becomes pretty easy

{ 20 / 21 }

codepen.io/prathamkumar/p…
I think that was pretty much it, If you like this thread share it with your connections ❀️

Peace outπŸ˜‰

{ 21 / 21 }

* β±α΅α΅–Κ³α΅’α΅›α΅‰α΅ˆ ᡛᡉʳ˒ⁱᡒⁿ α΅’αΆ  α΅–Κ³α΅‰α΅›β±α΅’α΅˜Λ’ α΅—Κ°Κ³α΅‰α΅ƒα΅ˆ

β€’ β€’ β€’

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

Keep Current with Pratham πŸ‘¨β€πŸ’»πŸš€

Pratham πŸ‘¨β€πŸ’»πŸš€ 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 @Prathkum

25 Mar
Everything you need to know before starting with web development

πŸ§΅πŸ‘‡
Hey, thereπŸ‘‹

If you want to learn web development then this thread is for you. In this thread, I will try to give a basic overview of the things you need to do to get started.

And any other doubt you have in mind... So Let's go

{ 2 / 23 }
Web development is a vast field but mainly revolves around 3 different technologies.

HTML, CSS and JavaScript - You can learn these things with 100 Days let's see how....

{ 3 / 23 }
Read 23 tweets
24 Mar
Let's see some cool CSS features that have not yet been standardized.

πŸ§΅πŸ‘‡πŸ»
In this thread I will be covering features of webkit extension but you do the same thing for mozilla as well

Here: developer.mozilla.org/en-US/docs/Web…

{ 2 / 8 }
1️⃣ -webkit-tap-highlight-color

-webkit-tap-highlight-color is a non-standard CSS property that sets the color of the highlight that appears over a link while it's being tapped.

{ 3 / 8 } a {   -webkit-tap-highlight...
Read 8 tweets
24 Mar
If you know CSS then you can use these amazing generators and save your time

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ CSS Box Shadow Generator

- Generate CSS3 Box Shadow code for your Div, Frame, Buttons or any other HTML element with Outline, and Inset (inner) type shadow effects

πŸ”— cssboxshadow.com
2️⃣ Glassmorphism

- Generate glassmorphic design easily

πŸ”— glassgenerator.netlify.app
Read 7 tweets
24 Mar
A complete beginner's guide to CSS Grid layout πŸ‘‡πŸ»

Thread🧡
Grid is used for making complex web design layouts more easily as it's not so hard to master

Using Flex you can make only 1D layout but Grid gives you full power of creating 2D layout

Let's start

{ 2 / 21 }
First things first, start with giving the display property "grid" to the container element or parent element

{ 3 / 21 }
Read 14 tweets
23 Mar
JavaScript is the most important language for web development. Let's see how you can start learning it

A THREAD🧡
In this thread, we will cover some quick points so that you will be able make functional websites within 10 - 15 days.

However JavaScript is much more than this. But this thread will give you a quick overview

{ 2 / 18 }
First things first, whenever I'm up to learning new technology or language, I always start with a crash course. By doing so I get a quick overview of things in almost no time

{ 3 / 18 }
Read 18 tweets
22 Mar
Beginner's guide to the most widely used hooks of React

The useState and useEffect hook

A long threadπŸ§΅πŸ‘‡πŸ»
Start with the useState hook

- You will use it almost 100% in your component. The useState hook is not so tough to understand but there is some hiddent concepts, Let's start πŸ‘‡πŸ»

{ 2 / 27 }
Working with React hooks, first thing you need to do is to import the particular hook

It's quite easyπŸ‘‡

πŸ“Œ import { useState } from "react";

{ 3 / 27 }
Read 27 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

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

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!