CSS Tutorial #43 - Length Units in CSS | Programming For Beginners
In this video by Programming for beginners we will see Length Units in CSS for Automatic Numbering along with the Example.
HTML and CSS is a must for students and working professionals who want to make a career in web development related technologies specifically for front end developers and web designers.
CSS full form is cascading style sheet. It is used to design web pages written in HTML.
CSS has several different units for expressing a length.
Many CSS properties take "length" values, such as width, margin, padding, font-size, etc.
Length is a number followed by a length unit, such as 10px, 2em, etc.
Absolute Lengths:
The absolute length units are fixed and a length expressed in any of these will appear as exactly that size
cm centimeters
mm millimeters
in inches (1in = 96px = 2.54cm)
px pixels (1px = 1/96th of 1 in)
pt points (1pt = 1/72 of 1 in)
pc picas (1pc = 12 pt)
Relative Lengths:
Relative length units specify a length relative to another length property.
Relative length units scale better between different rendering mediums.
em Relative to the font-size of the element (2em means 2 times the size of the current font)
rem Relative to font-size of the root element
vw Relative to 1% of the width of the viewport*
vh Relative to 1% of the height of the viewport*
==========
CSS Tutorial for Beginners Playlist:
• CSS Tutorial For Beginners
HTML Tutorial for Beginners Playlist:
• HTML Tutorial for Beginners
Python Programs for Beginners Playlist:
• Python Programs
Python Tutorial for Beginners Playlist:
• Python Tutorial
Java Tutorial for Beginners Playlist:
• Java Tutorial
All Java Programs Playlist:
• Java Programs
What Is CSS?
CSS stands for cascading style sheets
In short, CSS is a design language that makes a website look more appealing than just plain pieces of text
HTML largely determines textual content and CSS determines visual structure and layout
HTML is a markup language, and CSS is a style sheet language. Think “look and feel” when you think CSS.
How Does CSS Work with HTML?
A website can run without CSS, but it certainly isn’t pretty
CSS makes the front-end of a website shine and it creates a great user experience
Without CSS, websites would be less pleasing to the eye and likely much harder to navigate
In addition to layout and format, CSS is responsible for font color and more.
What are the Benefits of CSS?
Faster Page Speed
Better User Experience
Quicker Development Time
Easy Formatting Changes
Compatibility Across Devices
YouTube Gears:
Microphone: https://amzn.to/3iIk5K3
Mouse: https://amzn.to/35irmNF
Laptop: https://amzn.to/3iG0jyD
#CSS #CSStutorial #webdevelopment #programmingforbeginners
============================
LIKE | SHARE | COMMENT | SUBSCRIBE
Thanks for watching :)
На этой странице сайта вы можете посмотреть видео онлайн CSS Tutorial #43 - Length Units in CSS | Programming For Beginners длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Programming For Beginners 02 Апрель 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 69 раз и оно понравилось 2 зрителям. Приятного просмотра!