CSS Crash Course for Beginners -3

Photo by Lee Campbell on Unsplash

Welcome to part-3 of the series. You can find part-2 here.

Class & Id

We have the concept of class and id in CSS. They can be used to target any HTML element. The difference between both of them is that the same class can be used at different places, but we can use id only once. Let’s update our html from previous part to wrap the h1, h3 and p with a div with class of box-1.

Class

You can read the rest of the blog from my site. The link for same is below.

You can find part-4 here.

--

--

--

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Async Operations with AbortController & AbortSignal in Nodejs

Making objects Immutable with freeze(), seal(), & preventExtensions()

YouTube Video | CSS3 in 10 days — Day 1

A quick guide on how to deploy your first Node.js app

TEst by w3nuts 1234

useContext

Leetcode 764. Largest Plus Sign

Build a GraphQL Server from Scratch using Express- (Part 1)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nabendu Biswas

Nabendu Biswas

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

More from Medium

Ultimate Guide to CSS Positioning

How to Create an Animated Road Traffic using CSS and HTML

Top 3 CSS Tricks

How To Make a Button with a Gradient Border and Gradient Text in HTML & CSS