Тёмный

5 tips to getting better at CSS 

Kevin Powell
Подписаться 943 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@codernerd7076
@codernerd7076 Год назад
One thing that helped me to understand layouts more was doing the mobile view first, it cleared up a lot for me. I even go back to old sites I did years ago and reduce the CSS by almost 45%/60%!
@robopecha
@robopecha Год назад
for me it was trying out tailwind. because seeing the css inside the html both together on one page helped me understand how things work together. and now i am back to regular css and suddenly things work easily that felt unpredictable to me in the past.
@marcusgroth6028
@marcusgroth6028 11 месяцев назад
Haha, that's awesome. I use mobile first approach as well 👍
@InspiredScience
@InspiredScience 11 месяцев назад
@@robopecha - Super interesting insight. Can you elaborate on this a bit? For example, are you saying that after you began using the tailwind classes in your HTML that it helped you better understand how to approach CSS design?
@robopecha
@robopecha 11 месяцев назад
@@InspiredScience yes. but i think it depends on the person and how you visualize things. with tailwind for me it was much easier to use flex and grid and several other things. it just seemed obvious with tailwind where to put everything, while before in css, when things did not work, i was not sure why. i guess i sometimes mixed things up, but didn't notice, while in tailwind everything worked out instantly the way i imagined it. and now that i have this visualization in me brain, i can also use it with regular css and it works as well.
@Jrizy.
@Jrizy. 11 месяцев назад
Oh wooo woo, wooooo.. Please, do share this mobile first approach. This will really help me. Is it a #KevinPowell video?
@bmehder
@bmehder 11 месяцев назад
Kevin's CSS Demystified course changed my life in terms of CSS. I can't recommend it enough.
@Jrizy.
@Jrizy. 11 месяцев назад
"When you go backwards, you're not actually going backwards - you're filling in knowledge gaps that you have." Woah that is an incredibly powerful and so true!
@tyronefrielinghaus3467
@tyronefrielinghaus3467 11 месяцев назад
Kevin, your videos are always good. This one was really encouraging : often one thiinks its MY fault I'm having difficulty - so refreshing to hear it;s just the way it is, and there certainly IS complexity. Thanks! Easy to get frustrated if one doesn't acknowledge that.
@VeitLehmann
@VeitLehmann 11 месяцев назад
That's lots of great advice! And "embrace the unknown" is especially fundamental to writing great, resilient CSS. I always ask questions like this: Does this work well with both small and massively large screens? Can the user use it with keyboard only? What happens we need to put more text some box? Does this card component work without an image? What if instead of 3 items, there are only 1 or 2, or more than 3? And the list goes on.
@_denniman
@_denniman Год назад
We learn a little by teaching others. I can’t count how many aha moments I’ve had by going over concepts I took for granted. Thanks for sharing these tips.
@KevinPowell
@KevinPowell 11 месяцев назад
I always tell people that teachers others is a cheat-code for learning 😅. It's amazing how you can make a connection that you never had before while in the middle of a sentence, lol.
@StephenBolger
@StephenBolger 11 месяцев назад
I do find it useful to go back over things that it's easy to think I don't need to. You learn a lot by doing this and it does help iron out some possible bad practices or improves how you do something. As you learn more, it's almost like refactoring your knowledge to make sure everything together is understood well.
@adarshdhital007
@adarshdhital007 Год назад
Your video is so good, thankyou Kevin
@nomadshiba
@nomadshiba 11 месяцев назад
flexbox is useful only when you have items with random sizes that also should wrap other than that i just always go with grids
@Sara-h2o2k
@Sara-h2o2k 11 месяцев назад
My favourite CSS teacher ! Thank u so much
@ThinkAct2win
@ThinkAct2win 11 месяцев назад
Wish you the 1m very soon! Love your content (:
@waseemusman421
@waseemusman421 Год назад
kevin you are really doing good job. i really requesting you to create videos on figma to html conversion. in which kindly explain how to analize design, how to choose css units for different sizes like width and font sizes. youtube does not have such content. i really need you should create series on it
@KevinPowell
@KevinPowell Год назад
I've done a few videos where I do that. This playlist has several. Some of them I'm just using a static image design instead of Figma, but there are a few in this playlist where I go from a Figma file ru-vid.com/group/PL4-IK0AVhVjPKyc9UTHzx9xUnZYTGGi2b. The most in-depth tutorial I've done like that might be this one on Scrimba. It's a free course, but you need an account to access it: scrimba.com/learn/spacetravel
@BlueHero-l9t
@BlueHero-l9t Год назад
Hi! Could you please make a SCSS and WordPress website project video?
@kennethauwers1448
@kennethauwers1448 11 месяцев назад
Any chance you are going to do a new "Build a responsive website with HTML & CSS" series but with fluid typography, container queries and the cqi values?
@KevinPowell
@KevinPowell 11 месяцев назад
I have some things in mind, but I'm working on a big project at the moment. Once it's done, something like that is definitely on the roadmap :)
@kennethauwers1448
@kennethauwers1448 11 месяцев назад
@@KevinPowell Awesome, I am really looking forward to that content. It really blows my mind how far CSS has come over the past years.
@penguinxed
@penguinxed 11 месяцев назад
I definitely recommend the CSS Demystified! very helpful
@vidikman
@vidikman 11 месяцев назад
hi Kevin, I have to say that I liked your background lightning. Perfect for the only talk video.
@KevinPowell
@KevinPowell 11 месяцев назад
Thanks!
@destinrr5318
@destinrr5318 11 месяцев назад
Hello, is it worth learning html,CSS,js these days ? Very many people advise me against it because there is wordpress or webflow which is much faster, what do you think ?
@KevinPowell
@KevinPowell 11 месяцев назад
WordPress has existed for 20 years now 🤷 Tools like it and webflow have their uses, and fill a gap on the market, but in my opinion, it doesn't replace learning html, CDs, and JS, and if you really want to get into WordPress you'll get into PHP too
@arunsaklani9890
@arunsaklani9890 11 месяцев назад
Remove unnecessary height if necessary use min height use flexbox,use grid ,start to make layout first for smalll smal items like header than remove height
@mahadevovnl
@mahadevovnl 11 месяцев назад
Could you perhaps do a video one time about how to setup CSS for larger projects? I think that the problem with people flocking to utility class bombardment frameworks (I hate it so much) is probably because CSS is difficult to master, and definitely hard to not end up with spaghetti-CSS in larger projects. So very often I hear the fans of that one framework shout: "It's literally CSS!" and, to me, that sounds like strong confidence from people who don't know that they are, in fact, incompetent. Dunning-Kruger Effect in full swing, basically. I've started to just embrace the fact that CSS isn't perfect. To me it's gorgeous, but to many it's ugly and confusing as heck. And they can't make it work for them. They don't understand specificity and they don't understand cascading styles. Not to mention any of the more complicated matters (paint/composite/layout) and so forth...
@InspiredScience
@InspiredScience 11 месяцев назад
This is an excellent point. However, I think a large part of it is laziness or 80/20 as well. In either case, this would be an excellent topic for Kevin, would love to see that.
@mahadevovnl
@mahadevovnl 11 месяцев назад
@@InspiredScience Definitely laziness, agreed. I think it's the mindset that "it's just styling, and it just styles just some HTML" from the novices who can only spam `div` tags. I've reviewed thousands of applicants, and the utility-class bombardment candidates almost always can't seem to wrap their heads around HTML and CSS. They like writing code. So that's where they will be: in their code. Usually JSX, of course, and now they can make that annoying HTML (always a `div`) do CSS at the same time. CSS and HTML aren't programming languages, they underestimate it wildly, are wholly incompetent at both, and make crappy products full of validation errors. Should they learn? Yes. Will they? Probably not. But if sources like Kevin can at least educate a few hundred or a few thousand of those people how to get it right for larger projects, it might spread...
@jamesbrownenglishforprofes1596
@jamesbrownenglishforprofes1596 6 месяцев назад
Hi Kevin, I've just subscribed to your channel.
@gullapallijyothikiran3371
@gullapallijyothikiran3371 Год назад
from india.
@jestaman3356
@jestaman3356 11 месяцев назад
Hey Kevin. Love your videos, and this was another great one! If you read my comment, can you point me to either one of your videos (or any other source) that will help me with using non-background images in html/css? I've been trying to use images with flexbox and they just won't behave the way I would want, which makes me think I don't understand how images work. Thanks!
@KevinPowell
@KevinPowell 11 месяцев назад
Images that are flex items are hard to wrangle. I usually put the image inside a div. The div is the flex item, and the image lives in there. Make sure you have a max-width: 100% on the images as well
@jestaman3356
@jestaman3356 11 месяцев назад
Ok, that makes me feel better knowing images as flex items can be tricky. I'll play around with using images inside divs and making sure to have max-width: 100%. I really appreciate the response, Kevin! @@KevinPowell
@SandroWalach
@SandroWalach 11 месяцев назад
It felt like these tips were a little too vague for me. "Don't limit yourself" and the like can be said about a lot of things.
@marymaundu1702
@marymaundu1702 11 месяцев назад
Hey Kevin....quick question, can I use flexbox and grid in the same website like flexbox for the general css then grid for media queries?
@KevinPowell
@KevinPowell 11 месяцев назад
You can, though it's not often I swicht something from one to the other, there's nothing stopping you! I usually have grid for bigger things, and nested in there I often have flexbox stuff, though it can also be the other way around.
@marymaundu1702
@marymaundu1702 11 месяцев назад
okay thank you. @@KevinPowell
@robopecha
@robopecha Год назад
i think one problem is, that a lot of people teaching css in schools or coding bootcamps themselves just work with trial and error. everywhere i went to learn web dev the css part was throwing things together until they kind of worked. i found it frustrating and had many question, but most people didn't. they were fine with this approach, they hate logic. and they are all out there with their trial and error wisdom.
@KevinPowell
@KevinPowell 11 месяцев назад
I can feel that, 100%. The problem with having people teach something they aren't super comfortable with, and it doesn't help at all.
@420troll4
@420troll4 11 месяцев назад
@@KevinPowell shrug. my html and css teacher specifically told us he'd deduct marks if we put a class on everything and styled things that way. Use selectors properly, he said!
@EdHallPhotoFL
@EdHallPhotoFL 11 месяцев назад
#4 is exactly what I needed to hear. Being one to get stuck trying to keep it in flexbox even when it's not doing what I want. Thanks Kevin!
@StrangerDanger352
@StrangerDanger352 Год назад
From Nepal 🇳🇵
@adarshdhital007
@adarshdhital007 Год назад
yes bro ma ni
@StrangerDanger352
@StrangerDanger352 Год назад
@@adarshdhital007 lets link up bro😄
@NinjaBotHax
@NinjaBotHax Год назад
we can't send links in comments, can we??
@KevinPowell
@KevinPowell Год назад
RU-vid will auto-flag and delete comments with links in them these days. I haven't seen one make it through in a long time now.
@NinjaBotHax
@NinjaBotHax 11 месяцев назад
@@KevinPowell wow! the day you posted the state of html, i made their logo with simple animation using css in half an hour after you posted, I wanted to show you, so my id in codepen is iSepehr, please take a look, i’ll be glad to hear your feedback. also there is a countdown one who need some help, take a look at that too please. thanks
@saifulislamShefa
@saifulislamShefa 11 месяцев назад
So, How much skilled you really are in css don't forget to revisit the fundamentals sometimes.
@odysseaskorelides7897
@odysseaskorelides7897 11 месяцев назад
I adore you sir.
@kasragarshasbi7982
@kasragarshasbi7982 11 месяцев назад
Hi, i have question i will be very glad if you answer I learned html and css but i can’t make sth that is in my head or make some prototype that I like what should i do
@KevinPowell
@KevinPowell 11 месяцев назад
Design and development are two different skills. Usually developers get designs handed to them, and we build those. Doing both means learning two different skill sets. I usually recommend either building based on existing designs you find, or at least looking at existing designs to get some inspiration
@kasragarshasbi7982
@kasragarshasbi7982 11 месяцев назад
@@KevinPowell I understood. Thanks🤍
@nomadshiba
@nomadshiba 11 месяцев назад
css is like typescript types full of magic, and wizardry i LOWE IT
@BlueHero-l9t
@BlueHero-l9t Год назад
Hi! Could you please make a SCSS and WordPress website project video? I'd really appreciate it so much!!! I work as a Web Developer at a company that deals with multiple sites and a couple of weeks I had the task to replicate a custom page that was made using scss for a WordPress site and make minor changes. The developer that created the site was a genius but they told me he couldn't be reached. So it took me one full week but I finally figured out how to make that particular page that had SCSS in a WordPress in a Divi Child Theme site. However, this is only self taught because I spent hours of my free time for a week to figure it out. I've been looking for project videos (you know, one of those videos of 2 hours or so) in SCSS and WordPress and there are not many. Please!!!!
@KevinPowell
@KevinPowell 11 месяцев назад
I might one of these days. I just haven't done that sort of thing in a *really* long time. Interesting to put custom styles on top of divi, rather than using something a bit more bare-bones, but 🤷
@BlueHero-l9t
@BlueHero-l9t 11 месяцев назад
@@KevinPowell Thank you so much for your response! Yes, please!!! I work for a hospital as a Developer and I manage like 50 sites and have done custom code on WP and Drupal from scratch but it's the first time a couple of weeks ago that I came across a WP site that used Divi theme and SCSS for 2 custom pages. I feel I can do that on any site but if you ask me to do something different I wouldn't be able to do it. I need to learn more the structure how files and structure is organized when it's part of a WordPress site. I feel I need to learn more about that. If I learn how to do that with SCSS I feel like I would never have a need for a plugin.
@apnastudioaj6705
@apnastudioaj6705 Год назад
❤ From Pakistan.
@tiktoksmashph
@tiktoksmashph Год назад
From Philippines 🇵🇭🫶
@KevinPowell
@KevinPowell 11 месяцев назад
👋
@apporvaarya
@apporvaarya 11 месяцев назад
is your background real?
@KevinPowell
@KevinPowell 11 месяцев назад
Yup 🙂
@jithinshah2754
@jithinshah2754 Год назад
@faizxubuntu
@faizxubuntu 11 месяцев назад
90% of this video is just Kevin telling you to not be hacky with css
@tylnedriavalendorf
@tylnedriavalendorf 11 месяцев назад
Hey, I love your content but I find these videos where you just talk a bit boring. Im not a native english speaker so sorry if my statement sounded a bit rude, I just wanted to give my opinion
@Jrizy.
@Jrizy. 11 месяцев назад
Kevin, I am - what you would call a HUGE FAN. I mean I am not huge personally. But you know what I mean lol 💙 I'm sorry but I have to disagree with the Pliers analogy. As someone who has done home remodels and worked in Constuction for 4 years and Carpentry for 5 years - Each plier has its own beautiful specific tasks, and it knows it lol 😉needle nose for example is going to help you get into small, confined places whereas a normal pair of pliers would not be able to get too due to the size difference. There are pliers just for removing Oil Filters, pliers that you can adjust by twisting a knob at the bottom of the handle and when press all the way LOCK onto whatever you want. Pliers for cutting wires, pliers for removing nails that are embedded deep into a piece of wood. And so many more that have a specific purpose. Lol, I am just messing with you
@dankierson
@dankierson 11 месяцев назад
These lovely new CSS features are always going to be prisoners of the browser companies' will to implent them in both small and large screen devices. It would be informative to know how the CSS compilers are actually implemented, in broad terms at least, so we could see the limits imposed by the category definitions.
@KevinPowell
@KevinPowell 11 месяцев назад
caniuse.com is a great place to see the current state of browser support for features. These days, features tend to gain support pretty fast, and when a browser implements it on desktop, they also tie it into the mobile version as well so there is parity there (the one different being iOS, where everything is a skin of Safari, so it follows browser support of that). As far as how the CSS compilers are implemented, that's a whole other level. There is information out there on that if you want it, with varying levels of depth. Chrome, and all the Chromium browsers use Blink, which is open source, so you can really deep dive it if you want: www.chromium.org/blink/ - and here is the specifics for the layout engine - chromium.googlesource.com/chromium/src/+/HEAD/third_party/blink/renderer/core/layout/ng/README.md
Далее
Using CSS custom properties like this is a waste
16:12
Просмотров 172 тыс.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Просмотров 2,6 млн
Kenji's Sushi Shop Showdown - Brawl Stars Animation
01:55
Новая BMW 5 провал за 10 млн! ИЛИ?..
32:07
I gave three AI models a CSS quiz
50:31
Просмотров 12 тыс.
What I do as an Email Developer
8:41
Просмотров 37 тыс.
Keeping up with CSS: The features released in 2023
31:13
The problem with mobile-first CSS
13:53
Просмотров 128 тыс.
Beginner’s guide to styling text with CSS
26:34
Просмотров 38 тыс.
A new approach to container and wrapper classes
25:27
Просмотров 259 тыс.
9 Resources to help you practice your front-end skills
11:14
Improve your reset with these modern CSS additions
4:38