Height: The height property sets the vertical length of a box. Height is measured in pixels and should not be confused with the measure word “height”.
Width: The width property sets the horizontal length of a box. Width is measured in pixels and should not be confused with the measure word “width”.
There are many properties in CSS, but these 5 are the most commonly used:
background-color
border-top-width
border-top-style
border-right-width
border-right-style
When you give an element a width of 100% in CSS, you're essentially saying, "Make this element's content area precisely equal to its parent's explicit width — but only if its parent has an explicit width." So, if your parent container is 400px wide, a child element with a width of 100% will be 400px wide as well.
The max-width CSS attribute specifies an element's maximum width. It prevents the width property's utilised value from exceeding the value given by max-width.
Learner's Ratings
4.3
Overall Rating
69%
14%
7%
5%
5%
Reviews
A
Ankit Choudhary
5
Form Protal Not Working
M
Muhammad Sohaib
5
amazing Exerience
R
Rajan Kumar mahto
5
sir Assisgnment-2 in i am not understand the Question 3 please can you understand me please sir.
D
Deepak Singh Bisht
5
joel sir i the best teacher for this course I learn many new things in this CSS course with us.
S
Sushanta kumar Mangal
5
Just Awesome experience!
S
SANDEEP BISWAS
5
fabulous experience
A
Aman murari Singh
5
Good experience
N
Nishant Tiwari
5
CSS beginner to advance best course.
A
Ashwin Ujjwal Bharti
4
Fantabulous
Parmanand Yadav
5
Extremely happy with learn varn team and teachers.
Thank you so much for doing great sir for us 😊😊.
Love you all members of the team ❤️❤️
Share a personalized message with your friends.