Тёмный

Card Layout (Design) Tutorial with HTML & CSS Grid - Web Design Tutorial 

dcode
Подписаться 132 тыс.
Просмотров 91 тыс.
50% 1

Link to code:
codepen.io/dcode-software/pen...
In this video tutorial I'll be showing you how to create a card design (or layout) using plain HTML & CSS Grid.
This style of web design is perfect for displaying a bunch of summarised information at once.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
Follow me on Twitter @dcodeyt!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#html #css #dcode

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

 

2 ноя 2019

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 74   
@MGdriver77
@MGdriver77 8 месяцев назад
This was so extremely helpful. My god. I was worried the video was going to be too short, and out of date (3 years ago) but it worked perfectly. Thank you so much, you've helped my understanding of how to do a card layout.
@damirrekic4271
@damirrekic4271 4 года назад
Thank you! Nice and clean explanation. Just what I looking for. :)
@georgeeno6956
@georgeeno6956 Год назад
From the depth of my heart ....... Thaaaaaaaaaaaaaaaank you. My day was terrible because of this but right now.... I'm smiling. Such a happy night cos i found this video
@MissArmy
@MissArmy 2 года назад
thank you for explaining all the concepts as well! I'm completely new to HTML and css and this was a big help!
@TomasMisura
@TomasMisura 4 года назад
i like card layout and I use them quite often so seeing different approach is another good example in my collection :)
@Pankaj-Verma-
@Pankaj-Verma- 3 года назад
Thank you for your kind help. That was a fantastic tutorial.
@lucianfursenco709
@lucianfursenco709 2 года назад
great job bruh, it really helps me improving my skils !
@diahrongrismore1054
@diahrongrismore1054 4 года назад
Great tutorial. Did you purposely sneak in the BEM style coding? Or are you planning to flesh it out in a later tutorial? Which would be awesome. Doing a tutorial the way you did this is really teaching multiple subjects, i.e. SCSS/SASS, BEM and gui design structure, without mentioning it. Presenting BEM after this tutorial would be like a 'light bulb' going off in ones head because the seed for such technology was previously planted. It just need time to come to fruition. That's the way we all learn. The majority of us do not get it the first time around. Mostly because we're bombarded with TMI (too much information). Great job!
@deenayoussry4584
@deenayoussry4584 2 года назад
it's veryyyy helpful thank you, highly appreciated
@aaroncatolico7550
@aaroncatolico7550 4 месяца назад
*VERY GOOD tutorial! Thanks for sharing because i learned A LOT! Ill be testing this out soon.*
@awaismushtaq5719
@awaismushtaq5719 2 года назад
Nice! Good explanation and yet simple
@scholab1319
@scholab1319 2 года назад
greetings from India, precise and very informative presentation. keep it up.
@alihamdi9359
@alihamdi9359 2 года назад
thank you for the tutorial it helps me a lot
@WildlifeExplorer05
@WildlifeExplorer05 2 года назад
Thank you its actually very help full👍👍
@angelkolev659
@angelkolev659 4 года назад
What do I have to change to make it look good with 3 cards per row instead of 4? It seems to me that this is made for 4 cards per row since 3 per row are not centred...
@aech3427
@aech3427 3 года назад
Great one
@footzenith2236
@footzenith2236 3 года назад
Awesome bro...thanks
@JoseRodriguez-dn4mp
@JoseRodriguez-dn4mp 3 года назад
Great video !!!
@sameekshamurdia
@sameekshamurdia 2 года назад
Thank you so much ✨
@tokoiaoben3842
@tokoiaoben3842 2 года назад
Thank you very much. Can you put navbar using list items (for instance, Home,Contact,Services & Product, and clicking menu items allow you to jump to content page accordingly.
@denisbodea8082
@denisbodea8082 3 года назад
Thank You!
@inayathkhan100
@inayathkhan100 4 года назад
Very useful tutorial, Thank you
@dcode-software
@dcode-software 4 года назад
Thank you and no problem 😁
@sillejuulkjaerbo4723
@sillejuulkjaerbo4723 3 года назад
@@dcode-software Thanks for the great tutorial-video. Would you mind taking a look at my question above considering an issue when the content in one or more of the cars are longer?
@seunomeaqui_
@seunomeaqui_ Год назад
Amazing!
@medAmineRg
@medAmineRg 3 года назад
awesome thankyou
@ishworgautam9717
@ishworgautam9717 3 года назад
Thanks for your valuable content
@dcode-software
@dcode-software 3 года назад
You're welcome mate
@alxbengosu
@alxbengosu 3 года назад
What do you do if the text in the cards has different amount of lines? So card 1 has 5 lines of text while card 2 has 7 lines of text and card 3 has 5 lines. There's a button at the bottom, which will be out of alignment with the other cards. How would I fix this?
@yamacode9958
@yamacode9958 4 года назад
If you give an element a width in percentages but its containing div has no width set, does it move up until it finds a div?
@rishabhpandey4517
@rishabhpandey4517 3 года назад
Sir this helped me a lot thank you
@dcode-software
@dcode-software 3 года назад
You are welcome!
@bikramchettri9405
@bikramchettri9405 4 года назад
Hey Dom can you do a tutorial on range slider & Double range slider using javscript?
@echetammesoma8913
@echetammesoma8913 8 месяцев назад
Exactly what I was looking for! You mistakenly said JavaScript though 😅
@swojchwat
@swojchwat 8 месяцев назад
Amazing. Ive tried to do this kind of thing with flexbox. Ive ended up with width and gap set to some % and bunch of media queries. It was close but not as perfect as this solution. Ive also tried using width clamp but aparently it doesnt work with flex
@samantharusike6933
@samantharusike6933 4 года назад
Hello , i hope this finds you great. I have been following through the tutorial using the same technique to make cards for a recipe website but i noticed since each card can vary in content length its making the card differ in height . How can i make all the cards the same height irregardless of different content text . For the video tutorial it was the same exact thing on all cards do it looked all the same...please kindly respond and help me how i can get the problem fixed..Thank you for the great tutorial
@sillejuulkjaerbo4723
@sillejuulkjaerbo4723 3 года назад
@dcode What do I do when the elements card__content in one or more of the card(s) are longer than in the other(s) and therefore creates this white space underneath the card__info to fill out the space on the cards where the s are shorter?
@DAEDRICDUKE1
@DAEDRICDUKE1 3 года назад
min-block-size: 210px; in card__content worked for me!
@nicogratama8877
@nicogratama8877 Год назад
I would like to know as well!!!
@jcare07
@jcare07 3 года назад
Excelente!!
@EUU100
@EUU100 2 года назад
thank you
@EverrynN
@EverrynN 3 года назад
Thank you very much
@dcode-software
@dcode-software 3 года назад
Any time!
@stentechy3346
@stentechy3346 2 года назад
I am trying to recreate this my own way, How do increase the width of the card? I want it a bit wide.
@abouteveryting4762
@abouteveryting4762 9 месяцев назад
Respect :)
@jacquesdefontaine8039
@jacquesdefontaine8039 3 года назад
Hi Great tutorial! I tried to reproduce and everything looks great but for some reason, the light gray box at the bottom doesn't fit to the width of the "card" as if it has some padding. Any idea what that could be? Thank you!
@jacquesdefontaine8039
@jacquesdefontaine8039 3 года назад
Ok. Never mind... The "card__info" was in the wrong "" Cheers
@jacquesdefontaine8039
@jacquesdefontaine8039 3 года назад
Hi dcode, After more testing, I was wondering if there's a easy way to keep the "height" of the card even if the "card__content" text has different length? It'd be great if there was a "max" characters for the "card__content" without changing the "height" of the card so it doesn't look too messy ;)
@nicogratama8877
@nicogratama8877 Год назад
what if the content is different lengths? really need help on that one.
@raitasorin
@raitasorin Год назад
Ya Da Best
@liviumircea6905
@liviumircea6905 3 года назад
Good
@joshlamprell4688
@joshlamprell4688 4 года назад
My first is floating towards the middle of the page and when I try to add another it places it below, rather than next to it, can anyone help? thanks
@Skinface1000
@Skinface1000 4 года назад
Having the same problem mate
@bsmaheshkumar5328
@bsmaheshkumar5328 2 года назад
.cards{ float: left; ... }
3 года назад
I find keyboard sound satisfying 😖🤣
@deeeera
@deeeera 3 года назад
Do we have to use so many div???
@nicogratama8877
@nicogratama8877 Год назад
Yes!
@wthered
@wthered 4 года назад
Can you pls pls pls make the same card with user image inside circle between top image and Lorem text centre align?
@dcode-software
@dcode-software 4 года назад
Sure mate
@kevinmungame1869
@kevinmungame1869 4 года назад
@@dcode-software did you make that?
@dcode-software
@dcode-software 4 года назад
Yeah, User Profile Cards
@krisukii3421
@krisukii3421 3 года назад
how to make the coloumns smaller? thx for the tutorial btw xd
@oscorpion4045
@oscorpion4045 3 года назад
i guess if you play around with the grid-template-columns you would manage to set the size you want
@lynaeaa4518
@lynaeaa4518 3 года назад
Decrease the min size of the column?
@DAEDRICDUKE1
@DAEDRICDUKE1 3 года назад
min-block-size: 210px; in card__content worked for me!
@4541047
@4541047 4 года назад
It will be nice if you will share the source code...
@dcode-software
@dcode-software 4 года назад
No probs mate, source code is now in the description.
@4541047
@4541047 4 года назад
Awesome. Thank U Dom!
@melonheadwt
@melonheadwt 3 года назад
now the Q is, how to turn this simple design into another simple cms post, edit, delete
@bandofbrotherbob1932
@bandofbrotherbob1932 Год назад
Yeap💔💔
@mesalesme7501
@mesalesme7501 2 года назад
this guy never answers comments and says "I'll leave a link" but never does..
@inee669
@inee669 2 года назад
this isn't responsive.
@nicogratama8877
@nicogratama8877 Год назад
but it is...
@lofcwomen-com
@lofcwomen-com 7 месяцев назад
This is excellent but why can I not expand it to 100% of the VW? It's stuck at 1000px and defies all attempts to expand it for bigger screens.
Далее
Learn how to create a responsive CSS grid layout
31:52
Просмотров 125 тыс.
2000000❤️⚽️#shorts #thankyou
00:20
Просмотров 6 млн
Responsive CSS Grid No Media Queries
10:02
Просмотров 72 тыс.
How to Create Cards Design Using HTML and CSS
27:42
Просмотров 215 тыс.
CSS Grid Tutorial | Responsive Crash Course
43:43
Просмотров 137 тыс.
CSS website layout in 9 minutes! 🗺️
9:28
Просмотров 58 тыс.
ASMR Programming - Animated Login Page - No Talking
18:18