A Full Guide to CSS UNITS!

  Рет қаралды 15,367

developedbyed

developedbyed

Күн бұрын

💖 Show your support by checking out my courses!
developedbyed.com
-------------------------------------------------------------------------------------------------
CSS Units are quite hard to wrap your head around. In this episode we will look at the most popular CSS Units out there from px, rem, em, vh, vw and how they help in a responsive design in CSS. I am really happy to say that new changes are coming to this channel, focusing more on the fundementals of software and hardware engineering.
-------------------------------------------------------------------------------------------------
👨‍💻Connect with me
Twitter: / developedbyed
Instagram: / developedbyed
Github: github.com/developedbyed/
-------------------------------------------------------------------------------------------------
📖Chapters
00:00 Channel Changes
01:30 Pixels
02:20 REM
03:20 62.5% Hack
04:25 Margin and Padding Gotchas
06:52 Ems
08:08 CH and paragraphs
09:00 Percentages
09:35 Images and sizing
10:58 VH and min height
11:32 VW and viewports
-------------------------------------------------------------------------------------------------
🎶 Dope music
C Y G N - Emotions chll.to/bfeb2b66
C Y G N - You chll.to/c89d5030
C Y G N - Beautiful chll.to/a9246a7a
#programming #css #webdevelopment

Пікірлер: 33
@asyncrohan
@asyncrohan 10 ай бұрын
Hey brother , thanks a lot you are the best frontend teacher i have ever seen , i just wanna thank you because only because of you i learned css and mastered tailwindcss and thanks for this video too , i hope one day i will meet you and thank you face to face 😊
@tommy2naans
@tommy2naans 10 ай бұрын
Love this video, more classic ed content. Im glad you are going back to foundations.
@justpassingbylearning
@justpassingbylearning 10 ай бұрын
Your videos are the reason I got a career in web development. The projects in my portfolio were based on your videos. Thanks for all the hard work and great content. 5 years ago you helped me out in a large way but just doing what you love
@developedbyed
@developedbyed 10 ай бұрын
That’s amazing to hear! I’d love to see your work!
@justpassingbylearning
@justpassingbylearning 10 ай бұрын
@@developedbyed if I still had my portfolio from then I would show you. I remember the ball one being a big hit during my interviews
@bundesdavid
@bundesdavid 10 ай бұрын
I love to chill out in the back end and do funny stuff with databases and terminal and stuff. But to build something for others the frontend is just absolutely necessary. I'm not a fan of fronend development, but your channel makes it fun and chilled out for me. Thank You! I am looking forward to other contents! Arduino and Unity are really cool topics :D
@4115steve
@4115steve 10 ай бұрын
I like the direction. It seems to many channels focus or react. I plan to use the JAM stack with astro and three JS.
@charllabuschagne2169
@charllabuschagne2169 10 ай бұрын
Thanks Ed, always appreciate your content. Gems for this one is the :root hack and the ch units.
@grim.reaper
@grim.reaper 10 ай бұрын
Ohh now I understand why different units are used 😭 Thank you so much!!
@royrms4618
@royrms4618 10 ай бұрын
nice video ed thank you, whats the wallpaper used , i figured about love money rock n roll but it's not animated like yours
@sivadhanushuppalapati4041
@sivadhanushuppalapati4041 10 ай бұрын
hey bro, whats the font style you are using in VScode?
@thintzawhtun9676
@thintzawhtun9676 10 ай бұрын
hey ed can u make role based access and permission tutorial for react?
@krayziekray9509
@krayziekray9509 10 ай бұрын
Great video Ed. Do you have a plan to record updated videos for your Next.js course?
@developedbyed
@developedbyed 10 ай бұрын
Yes, every course will be updated regularly 👍
@oynx.
@oynx. 10 ай бұрын
Hi can you tell me how can create animation like " paramount pictures Website loading stars " when it's load
@maksudulhaque3227
@maksudulhaque3227 10 ай бұрын
He always looks so happy and cheerful. Make a tutorial on that I would say😂
@raouftouati4711
@raouftouati4711 10 ай бұрын
hi can you do a tutorial about image how they work inside the browser and how to control them with the css (sorry for my anglish) and thnks fot this tutorial
@taylortoast2
@taylortoast2 10 ай бұрын
Can’t wait for the new content!
@developedbyed
@developedbyed 10 ай бұрын
Cheers Taylor! You are the ultimate hype man hahaha
@michaelcypher5958
@michaelcypher5958 10 ай бұрын
Thanks Ed
@BMikel
@BMikel 10 ай бұрын
Nasa tshirt is first that cought my eye😂 Cool
@maherylala2153
@maherylala2153 10 ай бұрын
Rick must be hell of a good dev
@hagopboghossian6841
@hagopboghossian6841 10 ай бұрын
Yeh, it's awesome if you are starting microcontroller programming tutorials 👍👌
@hjetwd
@hjetwd 10 ай бұрын
the em unit is very mobile, dynamic. don't be afraid to use it. a good example of when em is perfect: you need to coding a button. the button has states - different colors and sizes. for the "big button" state, we just need to specify a larger font size, and everything else will increase automatically.: .botton { padding: .5em 1em; margin-inline: .5em; font-size: var(--botton-size, 1rem); /* REM only here */ border: .0625em solid black; border-radius: .375em; &.botton--small { --botton-size: .75rem; } &.botton--large { --botton-size: 1.25rem; } } we just change css variable using hard rem, and all soft em change automatically. it was a simple example from real life, but if the button does not need to change the font size, but you need to change the other sizes - em will not help here =)) em gives us an additional opportunity to write less code where possible
@WyzrdCat
@WyzrdCat 10 ай бұрын
Hahahaha 💯 "Cmon man. Get a calculator" my thoughts exactly whenever I see this hack lmao
@dobrilbojilov8184
@dobrilbojilov8184 10 ай бұрын
Good video😉
@utkarsh2126
@utkarsh2126 10 ай бұрын
Hii, this is your Gorgeous friend from India❤
@GustvandeWal
@GustvandeWal 10 ай бұрын
Avoid using 100vw. At least know that it doesn't take into account the scrollbar that is visible on Windows. If not used with caution, every Windows visitor could be able to horizontally scroll your website about 17px.
@WyzrdCat
@WyzrdCat 10 ай бұрын
I think vw should almost always be overridden with dvw. Dvw accounts for scrollbars and shite
@RowafaEdits
@RowafaEdits 10 ай бұрын
Can I edit your KZbin videos?
@bilalmalkoc
@bilalmalkoc 10 ай бұрын
Browser zoom is scaling all pixel values together, so no need to fight rem complexity.
@matteomorettoo
@matteomorettoo 10 ай бұрын
Rick lol😅
@sillysquirrel9979
@sillysquirrel9979 19 күн бұрын
thanks i hate it
Top 10 Tips and Tricks with Tailwind CSS
23:45
developedbyed
Рет қаралды 84 М.
Learn CSS Displays in 12 Minutes | Grid, Flexbox, Inline Block, Block
12:15
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 1,4 МЛН
CSS em and rem explained #CSS #responsive
16:54
Kevin Powell
Рет қаралды 377 М.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 425 М.
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 460 М.
CSS Units & Sizes Tutorial for Beginners
21:25
Dave Gray
Рет қаралды 31 М.
Learn CSS Units In 8 Minutes
8:48
Web Dev Simplified
Рет қаралды 222 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 898 М.
px vs rem: what to use for font-size in your CSS
16:11
Coder Coder
Рет қаралды 49 М.
Learn CSS Subgrid in 14 minutes
14:19
Slaying The Dragon
Рет қаралды 52 М.
Avoid These Typescript Mistakes
9:31
developedbyed
Рет қаралды 10 М.
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,9 МЛН
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 8 МЛН
Где раздвижные смартфоны ?
0:49
Не шарю!
Рет қаралды 552 М.