Harsh Kashiwal Profile picture
Mar 10, 2022 12 tweets 5 min read Read on X
🚀10 CSS Code you will always need👇
Thread🧵

#100DaysOfCode #DEVCommunity #webdeveloper
🖌️1. CSS Reset

When we create a fresh project browser assign some default style to the elements
And before moving further it is our duty to Reset or Clear all the CSS before beginning the work

1/10
🖌️2. Html Style

The very first tag to start loading with properties is HTML tag
We add multiple default properties throughout the page like scroll-behavior,background-color,color, etc.

2/10
🖌️3. Body Style

It is the most important tag which shows all the elements a webpage is intended to show.
Here we add properties like box-sizing,font-family,overflow-x, though it is not necessary to add these properties in body tag, they can also be added in Html tag

3/10
🖌️4. Default Border

When we create a div we actually don't see where it is exactly
To place it correctly on the page it is a good practice to give it the default border to relocate and adjust it to a correct position

4/10
🖌️5. List Style

We use List on our page to create a navigation menu, drop-down list, and a lot more
Most of the time the code remains the same to create a list like removing the list styling and creating padding

5/10
🖌️6. Style for ::after,::before

::after,::before tag is used whenever we want to make something interesting in our webpage be it creating a fancy dialogue box or giving a black tint to an image.

Though some default properties remain the same for styling them

6/10
🖌️7. Styling heading or paragraph

Default color, font, alignment is never perfect for a Heading or Paragraph in HTML.
We always use these 4 properties to style our heading or paragraph

7/10
🖌️8. Centering a DIV😂

Offcourse centering a DIV is a must mention to this thread😂

The simplest way to center a DIV is using a flexbox, It not only helps to center a div easily but also gives the coder power to control the container with more functionality

8/10
🖌️9. Import Fonts

Using Default font is not considered to give an amazing output of a webpage
A Smart Developer always use external fonts which beauties the page to a different level
We import fonts using @import

9/10
🖌️10. Validate the CSS Code

You must always validate your CSS code to be sure that your code is W3C valid. A valid code means a good developer.
jigsaw.w3.org/css-validator/

10/10
Thank you for reading...

Hey Myself Harsh✨

I talk about 💁
💟-Web
⚡️-Tools, Tricks for Web development
📚-Programming Facts

If you liked it, then you can follow me here.. @harsh_kashiwal

• • •

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

Keep Current with Harsh Kashiwal

Harsh Kashiwal 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 @harsh_kashiwal

Jul 27, 2022
How making Landing pages like this improves your Frontend skills?🚀
and helps you to earn your first income💰

#100DaysOfCode #webdevelopment #javascript Image
📍1. Understand the Basics

🔹Making small projects like this improves your basic understanding of the code and best technique to solve the problem

🔹It is a great way to explor and learn the basics of page structure, colors, fonts, media, tables, and more.

1/5
📍 2. Clean Code Habbit

🔹Keeps you in better development stage by improving your coding habbits and making code maintainable and easier to understand

🔹It helps you in making code more efficent, flawless and reusable

2/5
Read 8 tweets
Jul 25, 2022
Create this cool BULB on/off app using basic JavaScript
and Start your Learning Journey🚀

#100DaysOfCode #javascript #webdev
♦️ This small project requires images of bulb which you can find online or you can design by yourself
- for image resources DM me

♦️Basic knowledge of HTML,CSS required
📌HTML code

🔹Basic HTML with 2 buttons to trigger the event in the javaScript file Image
Read 9 tweets
Apr 7, 2022
Find out the way elements on a page are laid🚀

CSS Box Model Explained in one Thread
🧶👇

#100DaysOfCode #DEVCommunity #webdesigner Image
📍1. What is Box Model in CSS?

🔹In HTML all elements can be considered as boxes
🔹Box Model is basically a box which consist of

→Margin
→Border
→Padding
→Content

1/8
The Pictorial Representation of CSS Box Model, It Can be Understood by this Image Image
Read 10 tweets
Mar 12, 2022
7 Soft Skills to Ace any Interview in your life🚀
Thread🧵👇

#100DaysOfCode #Developer #interview #SaturdayThoughts Image
✨1.Self Confidence

-Not just for Interview it's an important life skill too
-It demonstrates reliability, commitment and that you can fit efficiently into an org. without the need for constant supervision

If you're not particularly confident, practice acting like you are
✨2.Language

"Once you open your mouth the world knows who you are"

-It is important for you to know how important each word is
-Don't use Slangs or Informal language
-Get-Command on 1 Global Language
Read 9 tweets
Mar 8, 2022
How much CSS is Enough before Moving to Javascript?⚡️
With an approach plan👇
Thread🧵

#100DaysOfCode #DEVCommunity #webdeveloper
♦️1. Basic CSS Intoduction

When you Just started CSS after HTML
it is necessary for you to know the basics of CSS

Topic like,
→ Basic Syntax
→ Selectors(ID and Class)
→ Colors
→ Fonts
→ Margin
→ Padding
→ Box model
→ Display
→ Images & Icons

1/9
♦️2. Middle Level CSS

After finishing Basic CSS and getting introduced to THE CSS you move to a slight time demanding topics

Topics like,
→ List & Tables
→ Position
→ Overflow & Z-Index
→ Forms
→ CSS Units
→ !important
→ Psedudo Class and Elements

2/9
Read 13 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!

:(