CSS Tutorial - EM & REM, Relative Sizes (8/13)

  Рет қаралды 8,472

ColorCode

ColorCode

Күн бұрын

Пікірлер: 43
@macccabes483
@macccabes483 3 жыл бұрын
This guy is so underrated. Just subscribed! the information you give is so digestible and your personality 🔥 Your videos are always enjoyable to watch
@ColorCodeio
@ColorCodeio 3 жыл бұрын
I appreciate that!
@vishavjeetsharma5824
@vishavjeetsharma5824 Жыл бұрын
The term "em" comes from the printing industry, where it was used to refer to the width of the capital letter M in a particular font. In the early days of typesetting, the width of the M was used as a standard unit of measure because it was typically the widest letter in a font and therefore a good reference point.
@thestarinthesky_
@thestarinthesky_ 5 жыл бұрын
Another solution is to use "pixel" instead of "em". Is this statement OK?
@ColorCodeio
@ColorCodeio 5 жыл бұрын
Definitely. You can use pixels and you do often. I tall about it more in the previous video here: kzbin.info/www/bejne/d6mzqpqZhManfJo
@adnansafaraz5986
@adnansafaraz5986 5 жыл бұрын
This is so useful! and i hope your channel get bigger and bigger! keep up the good work, and explaining stuff like this in the way beginner like me can easily understand of what you're saying.
@ColorCodeio
@ColorCodeio 5 жыл бұрын
Best comment I got in a while. Thank you and I'm glad you like the content. I have a lot of videos in the pipeline. Will be coming soon :)
@gianluca_ruggieri
@gianluca_ruggieri 4 жыл бұрын
I sincerely believe you did cram so hard learning that now you became a very good instructor.. Thanks
@ColorCodeio
@ColorCodeio 4 жыл бұрын
I appreciate that!
@nostresscoding
@nostresscoding 4 ай бұрын
Bro you are fantastic, you are an amazing teacher, I like the way you explain your points. I have subscribed, I hope your channel gets bigger.
@DjCppsNews2012
@DjCppsNews2012 Жыл бұрын
How about we make EM stand for expected measurement and REM to stand for relative to the expected measurement (based on the set HTML font size parent element)? What do you guys think?
@sereneflatun
@sereneflatun 8 ай бұрын
THank you * * * * *
@adesh116
@adesh116 6 жыл бұрын
Thanks for the tutorial this is something i didnt care about.. till now :D
@ColorCodeio
@ColorCodeio 6 жыл бұрын
Awesome. I'm glad you found it useful
@retroman5797
@retroman5797 Жыл бұрын
You are so good at explaining. you get to the point directly thank you so much!!!
@mojtabahbb
@mojtabahbb Жыл бұрын
از جنوب استان کرمان با فیلتر شکن و کیفیت 240 تمام ویدیوهات رو دیدم ممنون خیلی به دردم خورد
@namrathak7178
@namrathak7178 3 жыл бұрын
I found your tutorials on Udemy, and eventually got here. Excellent videos for beginners. The world needs more teachers like you who can make learning fun. Thank you! Also, found out that em means “emphemeral unit” which means relative to it's current font.
@ColorCodeio
@ColorCodeio 3 жыл бұрын
Awesome. So glad you're here and thanks for finding out with "em". means! Finally haha
@ferrelnicholas2742
@ferrelnicholas2742 4 жыл бұрын
This dude is hilarious
@ColorCodeio
@ColorCodeio 4 жыл бұрын
😀👍🏼
@prakashraj4519
@prakashraj4519 2 жыл бұрын
Wow criminally underrated... such a great teacher you're
@ColorCodeio
@ColorCodeio 2 жыл бұрын
Thank you
@میلاداحمدی-خ3و
@میلاداحمدی-خ3و Жыл бұрын
داداش مشتی هستی. خیلی خوب توضیح دادی
@SiddharthRay1
@SiddharthRay1 6 жыл бұрын
em stands for emphasis I think.
@thestarinthesky_
@thestarinthesky_ 5 жыл бұрын
Wow! Such an amazing video. Thank you so much. You also made me laugh a lot 😂
@ColorCodeio
@ColorCodeio 5 жыл бұрын
Glad you liked it :)
@SiddharthRay1
@SiddharthRay1 6 жыл бұрын
very useful info. Thanks
@ColorCodeio
@ColorCodeio 6 жыл бұрын
Absolutely. Thanks for checking out the video.
@SiddharthRay1
@SiddharthRay1 6 жыл бұрын
may be rem is for relative em
@bobolino20
@bobolino20 5 жыл бұрын
So why don't we just use REM everywhere?
@ColorCodeio
@ColorCodeio 5 жыл бұрын
Robert, it's perfectly fine to use REM for the majority of your sizing specs. I do that often and you can certainly do it to bring a lot of harmony into your page. One issue with REM is it requires a much more thoughtful approach to your CSS architecture. Most developers are looking for a quick fix and move on from CSS, REM doesn't like that and it won't behave right unless set up properly. There are also certain cases where absolute sizing makes more sense, logo size, border width, other things that you want complete control and fixed sizing for at all times, in all screensizes. But your question is valid and you are not wrong.
@prathisahrudh
@prathisahrudh 4 жыл бұрын
thanks man.! its pretty clear now .!
@ColorCodeio
@ColorCodeio 4 жыл бұрын
Nice
@rauchu5861
@rauchu5861 5 жыл бұрын
shit ive been using this wrong
@ColorCodeio
@ColorCodeio 5 жыл бұрын
Adam we all have at some point :)
@existence.5806
@existence.5806 5 жыл бұрын
You are awesome bro
@ColorCodeio
@ColorCodeio 5 жыл бұрын
Thanks dude
@Zoraiz_plays
@Zoraiz_plays 4 жыл бұрын
ColorChode was a good one
@ColorCodeio
@ColorCodeio 4 жыл бұрын
:)
CSS Tutorial - Sizes, Absolute and Relative DEMO (9/13)
9:28
ColorCode
Рет қаралды 3,4 М.
Ems & Rems: How to use CSS Units
13:51
Craig A. Bourne
Рет қаралды 2,4 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 1,8 МЛН
Using CSS Units correctly: Pixels and Percentages
12:10
Craig A. Bourne
Рет қаралды 3,3 М.
Why you shouldn't set font-sizes using em
13:42
Kevin Powell
Рет қаралды 127 М.
Simple Explanation Of rem & em CSS Units
14:43
Traversy Media
Рет қаралды 118 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 172 М.
CSS em and rem explained #CSS #responsive
16:54
Kevin Powell
Рет қаралды 386 М.
Are You Making These CSS Height Mistakes?
8:54
Web Dev Simplified
Рет қаралды 131 М.