Build a responsive card - HTML and CSS tutorial

Build a responsive card - HTML and CSS tutorial

Kevin Powell

4 года назад

48,128 Просмотров

Get the course here: https://scrimba.com/g/gresponsive
More information on the course: https://dev.to/kevinpowell/learn-to-master-css-with-the-responsive-web-design-bootcamp-2i4o
Scrimba: https://scrimba.com

In this video we look at how to make a fully responsive card with HTML and CSS, with a big helping hand from flexbox!

#responsive #css #flexbox

---
Come and hangout, ask questions, suggest ideas, and meet some awesome people over in The Community: https://discord.gg/nTYCvrK

I have a newsletter! https://www.kevinpowell.co/newsletter

I've been working on some courses! Find out more: https://www.kevinpowell.co/courses

---

My Code Editor: VS Code - https://code.visualstudio.com/

How my browser refreshes when I save: https://youtu.be/h24noHYsuGc

---

Support me on Patreon: https://www.patreon.com/kevinpowell

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Instagram: https://www.instagram.com/kevinpowell.co/
Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

Тэги:

#Kevin_Powell #tutorial #html #css #responsive_css #responsive_card #build_a_card_html_css #flexbox_tutorial #flexbox
Ссылки и html тэги не поддерживаются


Комментарии:

Ravi Singh
Ravi Singh - 01.10.2023 15:12

For some reason flex-direction: row; did not work for my card

Ответить
Erán Ariel
Erán Ariel - 07.02.2023 10:55

Hi css Guro ,
After watching your recent videos I think button instead of a tag would be more accessibility. Am I right?

Ответить
Flor
Flor - 25.05.2022 20:22

Thank you! Awesome!

Ответить
Ian
Ian - 10.09.2021 15:25

where can we find the codes?

Ответить
Freya Brown
Freya Brown - 14.08.2021 23:06

Trying to build my portfolio website for the first time and this is exactly the kind of thing I'm after for my landing page. Thanks man, you're a lifesaver!

Ответить
rj singh
rj singh - 08.06.2021 07:06

this video was so helpful man! watched it twice ! haha thanks !!

Ответить
Finessing247
Finessing247 - 19.05.2021 22:08

this guy is awesome!

Ответить
Florina Gavrila
Florina Gavrila - 13.04.2021 03:40

Hello Kevin,
I want first to thank you for your amazing videos!
I am working on a business card right now, and I have a question about semantics. Do you think that Microformats (h-card) is appropriate to use for this kind of information?
In addition to your business card, I have a phone number and email.
Thank you in advance for your response!

Ответить
Jory
Jory - 07.03.2021 06:41

This video had so many crucial topics in CSS in such a short video. You are the CSS guru Kevin!

Ответить
Jasen Lakic
Jasen Lakic - 14.02.2021 12:28

Thanks for the video, very cool.

Ответить
AbuBakar Waqas
AbuBakar Waqas - 29.01.2021 15:42

lovely coding format Kevin, You have opened my mind. Thanks

Ответить
Daniel Kalmus
Daniel Kalmus - 08.01.2021 14:19

Hello Kevin, thank you for all videos youre making! Your course on scrimba is amazing too, so much information. If i can recommend one thing for everyone who is starting this bootcamp, take breaks regularly, exactly like Kevin says after each module. Try to digest all of the information and content and most important tip, try to rebuild everything yourself after every project! It helped me a ton! Thank you so much.

Ответить
Safius Sakib Shuddho
Safius Sakib Shuddho - 18.11.2020 20:20

I am thinking to use this kind of card as comments of my work and I will use it in my portfolio site. How can I do that? Any suggestion Sir?

Ответить
Devorah Weitzman
Devorah Weitzman - 11.11.2020 03:18

Outstanding tutorial and love the energy too.

Ответить
Balachandiran Sumathi. B
Balachandiran Sumathi. B - 23.08.2020 11:05

Awesome styling❤️

Ответить
Manar MA
Manar MA - 13.07.2020 11:49

where can we use cards ? like for what ?
thank you.

Ответить
Ghofrane Jabrani
Ghofrane Jabrani - 07.05.2020 19:50

thank you so much

Ответить
jeeves251
jeeves251 - 30.04.2020 06:35

Brilliant - love watching you work. Cards always give me heartburn and its so cool to see how easy you make it. Keep up the great work!

Ответить
Roni Dey
Roni Dey - 02.04.2020 08:11

"Pravatar" thank you for this information

Ответить
Axel Roses
Axel Roses - 03.03.2020 03:04

how can you make 2 or 3 cards in one row since the item is in the middle ?

Ответить
Axel Roses
Axel Roses - 03.03.2020 00:26

there is one class missing, "position slidebar"

Ответить
tinashe vakirayi
tinashe vakirayi - 12.12.2019 12:17

thank kevin wow....you are meticulous and i am learning so much

Ответить
Zach
Zach - 05.12.2019 19:09

Please make a video about when to use em or rem.

Ответить
Phil D
Phil D - 21.09.2019 01:31

Definitively learned something again as in all your super useful and energetic videos. Thank you!
Just one thing I can't get in my head. Today displays vary from around 250 ppi to up to 550 ppi (I actually had to look that up). That means displays of various (only) smartphones in (only) portrait mode range between 4,99 cm (1,96 in) and 7,34 cm (2,89 in) while being between 540 px and 1440 px wide. One third wider but triple the pixels.
As pixels don't represent the size of the screen, how do you represent that properly in media queries? Is "min-width" enough?
Thanks and regards

Ответить
avneet12284
avneet12284 - 21.09.2019 01:27

Where's the code my man? Is it on codepen or github?

Ответить
my mind react
my mind react - 17.09.2019 10:45

Great work. I've learned a lot from you!

Ответить
Gürkan Luş
Gürkan Luş - 15.09.2019 16:18

how do you write multiple elements at at same time?

Ответить
Gaaf Geel
Gaaf Geel - 14.09.2019 09:53

I bought the course and it really rocks! When I see this video I can almost read ahead of what you are going to do. So much learned the past week! The course is great!

Ответить
Luis Colomé
Luis Colomé - 11.09.2019 17:55

Great video! thanks million for your work Kevin. I haven't lernt anything new, but it's a really nice reminder that I'm doing things right. Nice card. By the way, Now I'm using pseudo elements much more than before. They are now something common in my develops. Thanks again ;) Have a good one!

Ответить
C REED
C REED - 07.09.2019 06:43

ugh, I was going to buy the course with the introductory discount but got caught up in all my back to school stuff and now its full price. I am sad.

Ответить
Joel D Canfield
Joel D Canfield - 06.09.2019 23:53

Even more than code specifics, I learn from your thinking process. Extremely helpful.

Ответить
Kevin Zhang
Kevin Zhang - 06.09.2019 17:32

I missed the sales of your new course. Will you have it on sales in near future? Thanks!

Ответить
AkView 🧐
AkView 🧐 - 03.09.2019 12:31

i want to make new image Carousel like e-commerce site. on net same type of Carousel . do you make new type of Carousel.

Ответить
Thiago Vieira
Thiago Vieira - 02.09.2019 05:07

Never heard of the "letter-spacing" property. Learned something new today. 💪🏼


Thank you Kevin! :)

Ответить
K Bender
K Bender - 01.09.2019 13:47

Responsive course i offer19,95 € (poor man)

Ответить
Toby Flenderson
Toby Flenderson - 31.08.2019 16:13

Dude can you please reduce the price of the course? I'm from India and the price is like half my salary for a month.

Ответить
ioannis me
ioannis me - 31.08.2019 02:21

amazing extra pure css!!!!!!!!!!!!!!

Ответить
Justin L
Justin L - 31.08.2019 00:00

Excellent video as usual! Thanks Kevin, have a great weekend :)

Ответить
William Duncan
William Duncan - 30.08.2019 22:00

Sorry, but that just looks ugly.

Ответить
Haythem Saidi
Haythem Saidi - 30.08.2019 17:06

Great Stuff Kevin, thanks a lot.

Ответить
rickyu1978
rickyu1978 - 30.08.2019 11:05

anyway to handle this without using media queries..

Ответить
Abishek H
Abishek H - 29.08.2019 22:49

Apart from this amazing tutorial, I learned another way of vertically-centering a div in CSS.
height: // Give a height;
display: grid;
place-items: center;


Correct me if I'm wrong! Thank you, Kevin.

Ответить
Abhishek
Abhishek - 29.08.2019 22:42

Amazing. I am new in designing
and this is really inspiring
Thanks Kevin😀

Ответить
Shivam Kandwal
Shivam Kandwal - 29.08.2019 19:18

if u have any design course on UDEMY please inform me

Ответить
Matt Hoare
Matt Hoare - 29.08.2019 14:57

Would you say that you're using BEM here Kevin although it's not 100% strict

Ответить
Jan-Hinrich Fehlis
Jan-Hinrich Fehlis - 29.08.2019 11:30

Love all your videos 👍🏻 even though I am not a developer. Question: can you talk about font sizes? How to pick the right sizes and when to use px, rem, vw... I always struggle with that. Is it part of your course? Purchased it, but did not have time to look into it in detail.

Ответить
Aamir
Aamir - 29.08.2019 11:21

i am mostly a backend developer, CSS kinda scares me, but the way you explain, it really breaks down the somewhat weird concepts of CSS nice and neat.

Ответить