Alamin Profile picture
Mar 18 7 tweets 3 min read
Learn useful CSS shorthand in one thread! 🔥

➡️Animated Tutorial Makes learning Easier.
CSS Shorthand Explained:

CSS shorthand combines multiple related properties into a single line of code, making your code more concise and readable.
Margin Shorthand:

margin: top right bottom left;. Replace the top, right, bottom, and left with the desired values.

For example, margin: 10px 20px 30px 40px; sets the margin for top, right, bottom, and left to 10px, 20px, 30px, and 40px respectively.
Padding Shorthand:

padding: top right bottom left;. Replace the top, right, bottom, and left with your desired values.

For example, padding: 10px 20px 30px 40px; sets the padding for top, right, bottom, and left to 10px, 20px, 30px, and 40px respectively
Background Shorthand:

background: background-color background-image background-repeat background-position;.

Write in shorthand, For example, background: #FFFFFF url("image.png") no-repeat center; sets a white background with the image "image.png" centered and not repeated.
Border Shorthand:

border: border-width border-style border-color;.

You can use this to combine any of the border properties into a single line, such as border: 1px solid #000000; to create a 1px black solid border.
If you like my work, buy me a coffee and support my work 🎉☕
buymeacoffee.com/iamchonchol

• • •

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

Keep Current with Alamin

Alamin 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 @iam_chonchol

Mar 17
Learn CSS Flexbox in one thread.

➼ Animated tutorial makes CSS Flexbox learning easier.
Read 17 tweets
Mar 16
Learn CSS Flexbox Child Properties in one thread 🔥

➼ Animated tutorial makes CSS Flexbox learning easier. Image
➡Flex-Grow

Allows you to determine how each child is allowed to grow as a part of a whole.
➡ Flex-Shrink

Allows an item to shrink if necessary. Only really useful with a set size or flex-basis.
Read 8 tweets
Mar 9
Learn CSS Grid in one thread.

➼ Animated tutorial makes CSS GRID learning easier.
Learn CSS GRID templating 🔥

➼ Animated tutorial makes learning easier.
Learn CSS GRID (justify-content) 🔥

➼ Animated tutorial makes learning easier.
Read 8 tweets
Feb 25
Learn CSS By Playing Games
1. Flexbox Froggy

This game teaches Flexbox's properties, including align-items, justify-content, align-content, flex-direction, align-self, flex-wrap, flex-flow, and order, in 24 levels.
2. Flexbox Zombies

Use Flexbox to position the crossbow and survive zombie attacks in each game section.

Learn new Flexbox concepts and apply them to overcome challenges and progress through the plot.
Read 14 tweets
Feb 23
CSS borders🔥

➼ The animated tutorial makes learning easier. 👇 Image
CSS borders 🔥

➼ CSS borders have four main properties.

1. border-style
2. border-width
3. border-color
4. border-radius
CSS border-style 🔥
Read 9 tweets
Feb 22
CSS combinators🔥

➼ The animated tutorial makes learning easier. 👇
CSS space descendent selector 🔥
CSS child selector (>) 🔥
Read 5 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!

:(