Build a responsive website with HTML & CSS | Part five: Spacing and stuff

  Рет қаралды 41,208

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 66
@vintprox
@vintprox 2 жыл бұрын
Didn't know there is ":where" pseudo-class that can help reduce the specificity. Thank you for showing its usage, Kevin.
@MedicaLzs
@MedicaLzs 2 жыл бұрын
That spacing utility is very useful! Thanks!
@matshogman
@matshogman 2 жыл бұрын
Great work Kevin. I like your series. I learn a lot.
@mikkolukas
@mikkolukas 2 жыл бұрын
16:50 ch *IS* actually equal to the with of the glypth "0" (zero) in the given font. So 42ch equals the width of 42 zeroes.
@yunas7888
@yunas7888 2 жыл бұрын
HTML and CSS Layout - kzbin.info/www/bejne/ap2am4iFmJJlh7M
@soufianesammah5936
@soufianesammah5936 2 жыл бұрын
I'v been waiting for it, let's get back to work!
@kamilcopur6513
@kamilcopur6513 2 жыл бұрын
Greaaat... CSS King... I enjoy with your videos...
@dragoshjianu
@dragoshjianu 2 жыл бұрын
Hey Kevin, Could you do a similar project in a way you would work to a real one? I would be very interested to see your actual, process of working a website from scratch using SASS and everything else.
@MrBrancomusic
@MrBrancomusic 2 жыл бұрын
yeah i really would prefer if he used sass on this one.
@stucowley3021
@stucowley3021 2 жыл бұрын
That would've been great. But let this also be an example as to why CSS is a rats nest of a nightmare to work with and using a preprocessor like Sass is the way to go
@dake.shi.kitano
@dake.shi.kitano 2 жыл бұрын
Kevin, you are the best!
@RonyPrime
@RonyPrime 2 жыл бұрын
Please complete this playlist asap ! Please
@fondfrites-h5i
@fondfrites-h5i 2 жыл бұрын
Your videos are very informative thanks sir love from India
@notmyname327
@notmyname327 2 жыл бұрын
I'm loving this series. I'm not familiar with those "data" labels on the html, isn't that working just like a class? Why use that instead of a custom class?
@aviralvikram9431
@aviralvikram9431 2 жыл бұрын
They make it easier when using js
@CRBarchager
@CRBarchager 2 жыл бұрын
The data-* attribute is used to store custom data private to the page or application.
@vintprox
@vintprox 2 жыл бұрын
"data-*" attributes are literally for storing visible data on elements. They reduce the reliance on classes for styling, so to allow data-driven styling.
@CRBarchager
@CRBarchager 2 жыл бұрын
17:13 Just noticed the copyright year was 2020 and not 2022. Is that on purpose?
@matthewbryson6423
@matthewbryson6423 Жыл бұрын
You are amazing Kevin!
@itsgojoverfr
@itsgojoverfr 2 жыл бұрын
hey Kevin why did you wrap the content divs in two other container divs? content content
@cyptowithkelv
@cyptowithkelv 2 жыл бұрын
Go and read the document again well on GitHub you can find in the description of this video Every section with even-colunms was used to align things at once section like the hero section, the footer , you can use flex but he used grid
@FdWebdesign
@FdWebdesign 2 жыл бұрын
Interesting video
@rendydwikana6073
@rendydwikana6073 2 жыл бұрын
Love your vid, keep it up❤
@ash_of_hope519
@ash_of_hope519 10 ай бұрын
In the beginning, don't forget like me to specify the solid nature of the outline, it has to be declared in order to work properly
@SurprisedPika
@SurprisedPika 2 жыл бұрын
These episode names are starting to look like how I name my git commits
@drorkatzir
@drorkatzir 9 ай бұрын
From the project style guide the p color should be "Dark-Grayish-Blue" :)
@pranavmishra2397
@pranavmishra2397 2 жыл бұрын
4:57 whats the exact correction? iam still noob at this
@Joske369
@Joske369 5 ай бұрын
I noticed the element is rendering in front of the menu on small devices, to fix this remove this from the css: p:not([class]) { opacity: 0.7; max-width: 32ch; }
@brunopais9030
@brunopais9030 2 жыл бұрын
I've been following this series, actually, I am learning a lot from your channel. Sometimes I wonder if you could make things a little bit different, or that while making the video you missed some detail. For instance near the end of the video when you add the data attribute p[data-width="wide"] and set the max-width to 42ch, I think that you didn't take into consideration that after you add the numbered bullets they will have a width and a spacing of they're own that will influence the spacing of the paragraphs. Am I right to assume that? Thank you for all the fantastic educational content.
@bechaamine70
@bechaamine70 2 жыл бұрын
Thanks for your effort, the part 4 on github is not found.
@hassaneoutouaya
@hassaneoutouaya 2 жыл бұрын
Thank you so much !
@AntoniGawlikowski
@AntoniGawlikowski 2 жыл бұрын
Hey! Thanks for the great video!
@abdelrahman.abdelaal
@abdelrahman.abdelaal 2 жыл бұрын
Hey Kevin, nice video. I just had a comment about the github repo. The link isn't working, I believe the name changed or something.
@codernerd7076
@codernerd7076 2 жыл бұрын
What happened to the beyond CSS course, finally was able to make some money to get it but now it's close :(
@thedacian123
@thedacian123 2 жыл бұрын
I do have a little question please! .flow :not(:first-child) in which you set the children margins ,How did that work?Woud not be more appopriate .flow *:not ....?Thnk you!
@bengr
@bengr 2 жыл бұрын
Why is .flow better than a flex (or grid) with a gap? Or in what cases do we want each?
@sachinjadhav4474
@sachinjadhav4474 Жыл бұрын
Hi Kevin, you used flow spacer for the spacing but how do you change the spacing for different devices when using media queries, as the flow spacing is being added inline it can't be changed using external css file.
@guilherme-ytbe
@guilherme-ytbe Жыл бұрын
you can set the --flow-spacer variable with the space variables that kevin has created, like this: css: :root{ --size-300: 0.75rem; } html: now you can control the --size-300 value with media queries. You can also use fluid space values. Andy Bell explains how you can do that here: kzbin.info/www/bejne/gKLRfnxndr2fbNkfeature=shared&t=634
@naczelnypsycholog6296
@naczelnypsycholog6296 2 жыл бұрын
1. inline styling it's a thing in 2022? it's bad imo, i'm glad that you proposed alternatives 2. can we finish that project? it's spread for too long imo 3. on my screen your font-size for those is to small compared to original files
@siddiqahmed3274
@siddiqahmed3274 2 жыл бұрын
Inline styles doesn't hurt if we just set custom properties there
@naczelnypsycholog6296
@naczelnypsycholog6296 2 жыл бұрын
@@siddiqahmed3274 hmm it does hurt try to override it in css file
@siddiqahmed3274
@siddiqahmed3274 2 жыл бұрын
@@naczelnypsycholog6296 why you want to overwrite them?
@naczelnypsycholog6296
@naczelnypsycholog6296 2 жыл бұрын
@@siddiqahmed3274 because you might want to change the value at some point?
@sachinjadhav4474
@sachinjadhav4474 Жыл бұрын
@@siddiqahmed3274 When you want to use media queries to change layout for other devices, the spacing can't be changed because of using inline styling
@aaleex012
@aaleex012 2 жыл бұрын
And i thought i knew CSS because i did a few FEM projects... now i know that i dont know
@yawarbhat2377
@yawarbhat2377 2 жыл бұрын
Hi Kevin, I wanted to ask which unit is better for margins ? Rem or em?
@sulemanmughal5397
@sulemanmughal5397 2 жыл бұрын
what on earth is a rem or em
@shayanalijalbani9894
@shayanalijalbani9894 2 жыл бұрын
Nice sir
@S0m0neRand0m
@S0m0neRand0m 2 жыл бұрын
Is there a video where you setup a project where you will be using sass?
@tristen_grant
@tristen_grant 2 жыл бұрын
He has a bunch of videos involving sass.
@S0m0neRand0m
@S0m0neRand0m 2 жыл бұрын
@@tristen_grant I know, but is there one where he sets up q project like he does In the first video of this series, but with sass?
@Six5
@Six5 2 жыл бұрын
css goat
@stacksavant
@stacksavant 2 жыл бұрын
Hi Kevin, how are you ?
@sulemanmughal5397
@sulemanmughal5397 2 жыл бұрын
what is a ch ?
@zvonimirbosec6674
@zvonimirbosec6674 2 жыл бұрын
The CSS ch unit is defined as the width of the character 0 (zero, or U+0030) of the font. While the ch unit works as an exact measurement for monospaced / fixed width fonts like Courier, it can be unpredictable with proportional fonts like Arial.
@zero-sb6uk
@zero-sb6uk 2 жыл бұрын
fall in love with you,you are like my elder brother who explains everything in a very calm way
@rezarahman1782
@rezarahman1782 2 жыл бұрын
I haven’t followed your the series. That's why I don't know the reason behind you are using terminal. You are using CSS. Not SASS/SCSS. Than why are you using terminal / Vite.js?
@vintprox
@vintprox 2 жыл бұрын
I think it's because of the configuration you need to make for bundling other assets, and Kevin doesn't have time for *that*. You can use basically anything that does live reload for such videos, and Vite is just one of those things that have this in mind.
@michalnowak2181
@michalnowak2181 2 жыл бұрын
thx
@hakansalih
@hakansalih 2 жыл бұрын
bunu izleyen kardeşim gözün korkmasın. eğer css de yeniyseniz bu videodan uzak durun. css bu kadar zor bir şey değil. bu arkadaş sistem kuracağım diye kendine işkence ediyor :)
@calebmaddox8979
@calebmaddox8979 2 жыл бұрын
Guys I don't think he likes the white space lol
@kylevandeusen
@kylevandeusen 2 жыл бұрын
:not([class]) 😲😱🧐🤨
@MuhammadAhmedAshraf
@MuhammadAhmedAshraf 2 жыл бұрын
why not use git bash powershell is so boring and why'd you unlisted the paper ripple video
@LJNProductionsInc
@LJNProductionsInc 2 жыл бұрын
1st
Build a responsive website with HTML & CSS | Part six: CTA
25:16
Kevin Powell
Рет қаралды 36 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 185 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Build a responsive website with HTML & CSS | Part seven: the footer
53:07
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 497 М.
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 369 М.
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 546 М.
Container Queries are going to change how we make layouts
24:24
Kevin Powell
Рет қаралды 178 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН