CSS Tutorial For Beginners 42 - Width & Height

preview_player
Показать описание
In this CSS tutorial for beginners, we'll take a look at the final two properties of the box mode - width and height. Width and height can be given static or dynamic values (pixels or percentages/ems), depending on what you need. Working with percentage widths are a great way to develop responsive websites and pixel widths are best used for elements which you reeeaaally don't want to change width/height.

Anyway, peace out, have fun, keep coding & don't forget to subscribe :).

========== CSS for Beginners Playlist ==========

========== HTML Basics Course ==========

========== The Net Ninja ============

========== Social Links ==========

Рекомендации по теме
Комментарии
Автор

Damn, man, I have finally understood why it's better to use percentage for responsive websites. Thanks!

Romeo-vthq
Автор

Lol when the screen moves down HWAAAA!

dialatedmcd
Автор

Easily explained ....🗣Thanks
Tell me about max an min width-height?

neeleshgaur
Автор

is this how width is calculated width = left and right padding + left and right margin + left and right border

reactnative
Автор

What the vh unit do in height property

eg: height:100vh?

soumyadeepchatterjee
Автор

What should I do if I want the second inline-box element to be displayed under the first?

kaloyangorunski
Автор

This is weird.... I can't get my width and height to work in the css itself but can get it to work if I set it in my img tag

pianoLee-sxdx
Автор

Sir how can we set contents inside 70% div elements... for example images, links headings etc

khizaransari
Автор

Dam use Alt + Tab to switch to the browser

fsadykov
Автор

What is max an min height/ width 😒???

neeleshgaur
Автор

This is incomplete video on width and height so I am gonna hit dislike button. You didn't talk about auto, initial and inherit properties.

tutorialsbuddy