Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2019
  • Link to code:
    codepen.io/dco...
    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

Комментарии • 76

  • @LindaShum
    @LindaShum Месяц назад

    This is a great tutorial. Thank you for making it seem simple. Just what I needed for my project.

  • @MGdriver77
    @MGdriver77 10 месяцев назад

    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.

  • @georgeeno6956
    @georgeeno6956 2 года назад

    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

  • @aaroncatolico7550
    @aaroncatolico7550 6 месяцев назад

    *VERY GOOD tutorial! Thanks for sharing because i learned A LOT! Ill be testing this out soon.*

  • @damirrekic4271
    @damirrekic4271 4 года назад +5

    Thank you! Nice and clean explanation. Just what I looking for. :)

  • @scholab1319
    @scholab1319 3 года назад

    greetings from India, precise and very informative presentation. keep it up.

  • @TomasMisura
    @TomasMisura 4 года назад +1

    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 года назад +2

    Thank you for your kind help.
    That was a fantastic tutorial.

  • @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!

  • @angelkolev659
    @angelkolev659 4 года назад +3

    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...

  • @alxbengosu
    @alxbengosu 3 года назад +2

    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?

  • @diahrongrismore1054
    @diahrongrismore1054 4 года назад +1

    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!

  • @lucianfursenco709
    @lucianfursenco709 2 года назад

    great job bruh, it really helps me improving my skils !

  • @echetammesoma8913
    @echetammesoma8913 11 месяцев назад

    Exactly what I was looking for! You mistakenly said JavaScript though 😅

  • @deenayoussry4584
    @deenayoussry4584 2 года назад +1

    it's veryyyy helpful
    thank you, highly appreciated

  • @hirunawadasinghe
    @hirunawadasinghe День назад

    Bro this video saved my soul 😱❤‍🩹

  • @sillejuulkjaerbo4723
    @sillejuulkjaerbo4723 3 года назад +2

    @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 года назад +2

      min-block-size: 210px; in card__content worked for me!

    • @nicogratama8877
      @nicogratama8877 2 года назад

      I would like to know as well!!!

  • @samantharusike6933
    @samantharusike6933 4 года назад +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

  • @swojchwat
    @swojchwat 10 месяцев назад

    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

  • @awaismushtaq5719
    @awaismushtaq5719 2 года назад

    Nice! Good explanation and yet simple

  • @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.

  • @inayathkhan100
    @inayathkhan100 4 года назад +2

    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?

  • @WildlifeExplorer05
    @WildlifeExplorer05 2 года назад

    Thank you its actually very help full👍👍

  • @alihamdi9359
    @alihamdi9359 3 года назад

    thank you for the tutorial it helps me a lot

  •  3 года назад +1

    I find keyboard sound satisfying 😖🤣

  • @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?

  • @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.

  • @joshlamprell4688
    @joshlamprell4688 4 года назад +1

    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

  • @raitasorin
    @raitasorin 2 года назад

    Ya Da Best

  • @JoseRodriguez-dn4mp
    @JoseRodriguez-dn4mp 3 года назад

    Great video !!!

  • @mininusequeci
    @mininusequeci Год назад

    Amazing!

  • @sameekshamurdia
    @sameekshamurdia 2 года назад

    Thank you so much ✨

  • @nicogratama8877
    @nicogratama8877 2 года назад

    what if the content is different lengths? really need help on that one.

  • @footzenith2236
    @footzenith2236 3 года назад

    Awesome bro...thanks

  • @abouteveryting4762
    @abouteveryting4762 11 месяцев назад

    Respect :)

  • @rishabhpandey4517
    @rishabhpandey4517 3 года назад

    Sir this helped me a lot thank you

  • @aech3427
    @aech3427 3 года назад

    Great one

  • @ishworgautam9717
    @ishworgautam9717 3 года назад

    Thanks for your valuable content

  • @wthered
    @wthered 4 года назад +1

    Can you pls pls pls make the same card with user image inside circle between top image and Lorem text centre align?

  • @denisbodea8082
    @denisbodea8082 3 года назад

    Thank You!

  • @EUU100
    @EUU100 3 года назад

    thank you

  • @jacquesdefontaine8039
    @jacquesdefontaine8039 4 года назад

    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 4 года назад +1

      Ok. Never mind... The "card__info" was in the wrong "" Cheers

    • @jacquesdefontaine8039
      @jacquesdefontaine8039 4 года назад

      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 ;)

  • @medAmineRg
    @medAmineRg 3 года назад

    awesome thankyou

  • @bikramchettri9405
    @bikramchettri9405 4 года назад

    Hey Dom can you do a tutorial on range slider & Double range slider using javscript?

  • @jcare07
    @jcare07 3 года назад

    Excelente!!

  • @EverrynN
    @EverrynN 3 года назад

    Thank you very much

  • @liviumircea6905
    @liviumircea6905 3 года назад

    Good

  • @krisukii3421
    @krisukii3421 3 года назад

    how to make the coloumns smaller?
    thx for the tutorial btw xd

    • @swerami
      @swerami 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 года назад +2

    It will be nice if you will share the source code...

    • @dcode-software
      @dcode-software  4 года назад +1

      No probs mate, source code is now in the description.

    • @4541047
      @4541047 4 года назад +1

      Awesome. Thank U Dom!

  • @deeeera
    @deeeera 3 года назад

    Do we have to use so many div???

  • @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.

  • @lofcwomen-com
    @lofcwomen-com 9 месяцев назад

    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.