Pratham Profile picture
8 Jul, 18 tweets, 4 min read
CSS is an enormous module of web development but you don't need to learn everything in the beginning.

Let's try to figure out how much CSS will be enough to make beautiful websites

🧡 πŸ‘‡πŸ»
CSS is an amazing and unique language that servers a great purpose. We can make our website visually good using CSS. It describe the presentation of web pages, including typography,. layouts, color etc...
CSS is totally operates on properties value pair. And there are around ~300 distinct properties in CSS
Obviously remembering them all and their values is almost impossible.

In my opinion, entire CSS revolves around 20 properties only
You must have heard about "Pareto principle" which states that for many outcomes roughly 80% of consequences come from 20% of the causes

Similarly, in order to cover 80% of CSS, you need to learn only 20 properties
For example: Have you heard about "image-rendering property"?

If not, then its not a problem
if yes, then its great

This property basically defines the image scalinig algorithm
There are a lot of these types of properties in CSS which you never gonna use for sure.

Like,

πŸ“Œ caret-color
πŸ“Œ mask-composite
πŸ“Œ will-change
Lets talk about some important concepts which you should know to be a fron-end developer πŸ‘‡πŸ»
First and foremost

πŸ“Œ The background and color

The characterstic of a great website is it's color scheme. Forget about everything and learn about background and color properties initially
The colors are something from which users interact first whenever they visit your webpage
The background in the shorthand property which covers background-color, background-attachment, etc

But again, you will rarely use background-attachment, background-origin, etc
πŸ“Œ The box-model

The entire website is a combination of boxes

The box-model covers

- Height
- Width
- Padding
- Border
- Margin

Here is the detailed thread on the box model:
πŸ“Œ Typography

Moving forward, typography is an essential thing of web page. A good font can make your webpage and establish a strong visual hierarchy, provide a graphic balance to the website, and set the product's overall tone
πŸ“Œ Layout

- CSS positioning
- Flexible box layout
- Grid layout

Structuring your website is essential as it provides better navigation and visualization of the content available on the site. Let's talk a little more about it and learn how we can create a proper layout.
In this thread, you'll find everything about CSS grid and web layout

πŸ“Œ Responsive Web Design (RWD)

An extremely important topic in CSS. Responsive web design is little tricky but not so tough to master.

It covers

- media query
- layouts
You can check my detailed thread on RWD

I guess after learning all these concetps, you are good to go to JavaScript.

But remember CSS is so deep and there is always a little margin of improvement
Without taking much of your time, I guess this is pretty much it for this thread. If you like it, share it with your connections it means a lot to me ❀️

Peace out πŸ˜‰

β€’ β€’ β€’

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

7 Jul
5 great websites a web developer should visit

Thread 🧡
1. Web Skills

Websites for all kinds of learning resources for web developers

- Fundamentals
- Accessibility
- Web components
- Progressive web apps
- Frameworks and libraries
- Testing
- Architecture and Paradigm
- UI and UX

πŸ”— andreasbm.github.io/web-skills/
2. Gitignore

A collection of useful .gitignore templates for your project. Select from 442 Operating System, IDE, and Programming Language

πŸ”— toptal.com/developers/git…
Read 6 tweets
5 Jul
Web Development is an enormous field that makes it difficult for many beginners.

Here I covered everything that will help you to start with almost zero efforts πŸ§΅πŸ‘‡πŸ»
Getting started with web development is little tricky and tedious. I personally faced some difficulties when I was first learning it.

But you don't have to worry. In this thread we will make the process easier
Three different languages you need to learn

HTML
CSS
JavaScript

You need to learn these 3 things in a chronological order
Read 26 tweets
1 Jul
7 GitHub repositories that can help you if you're learning Web Development

πŸ§΅πŸ‘‡πŸ»
1. HTML reference

- A free guide to all HTML5 elements and attributes.

πŸ”— github.com/jgthms/html-re…
🌐 htmlreference.io
2. HTML and CSS Code Guide

- Standards for developing consistent, flexible, and sustainable HTML and CSS.

πŸ”— github.com/mdo/code-guide
🌐 codeguide.co
Read 8 tweets
28 Jun
Introduction to React and React Hooks β†ͺ️

React is a JavaScript library for building UI components. And Hooks are the heart of any React app. Let's talk about them.

πŸ§΅πŸ‘‡πŸ»
Why React?

1. Reusable components
2. Fast due to virtual DOM
3. Huge ecosystem

{ 2 / 23 }
A typical React app contains many components. They are reusable and can interact with each other.

What is a component?
- Component is a simple function that you can call with some input and they render some output

{ 3 / 23 }
Read 24 tweets
25 Jun
Next 27 tweets are the Complete Introduction to CSS Grid Layouts including everything

πŸ§΅πŸ‘‡πŸ»
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 the full power of creating a 2D layout

Let's start

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

{ 03 / 28 }
Read 28 tweets
25 Jun
Cool things you can do with CSS only

🧡 πŸ‘‡πŸ»
Text portrait

πŸ”— codepen.io/prathkum/pen/x…
Texture portrait

πŸ”— codesandbox.io/s/texture-port…
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

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!

:(