CSS Responsive Card Hover Effects | Html & CSS

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Enroll My Course : Next Level CSS Animation and Hover Effects
    www.udemy.com/...
    ------------------
    Join Our Channel Membership And Get Source Code of My New Video's Everyday!
    Join : / @onlinetutorialsyt
    ------------------
    Source Code : / source-code-css-36865035
    Patreon : / onlinetutorials
    Facebook Page : / onlinetutorialsyt
    Instagram : / onlinetutorials_youtube
    Twitter : / onlinetutoria16
    Website : www.onlinetutor...

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

  • @ibrahimdua
    @ibrahimdua 4 года назад +40

    For 'align-items:center' to work, apply 'height' to the container.

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

      thank u !

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

      how much height?
      mine is aligned on top...

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

      thanks

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

      @@vd4538 650px worked for me you can try

  • @stef8147
    @stef8147 Год назад +2

    that background beat hard AF

  • @sanchezp330
    @sanchezp330 4 года назад +10

    Dude! THAT is way too cool, so simple yet so attractive and engaging. Thanks

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

    I am in love with this RUclips channel

  • @mohankumar349
    @mohankumar349 4 года назад +4

    downloaded images should be of same size and in css .container {height:100vh} is missing, you need to add it; otherwise, things won't work well. Great tutorial, thank you.

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

      Hello in responsive view
      When we click first content the second content doesn't go down
      Please reply

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

    Omg the most underated tutorial channel..

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

    Very simple but impressive.

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

    I'm in love with your work 🌸❤💫

  • @DeepakKumar-ec1bi
    @DeepakKumar-ec1bi 4 года назад +1

    Best web Front End Developer 😘

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

    Hello, thank you for video. Please explain why you use position: relative for blocks with classes container, card and content?
    I undastand whay you used position: relative for block with class imgBx (adding of Top and Left),but whay you used position: relative in other blocks?

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

    Awesome, simple, effective! Thanks for sharing! :)

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

    Love the visual effect, thanks for sharing!!!

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

    Very nice brother. I like the responsiveness. Very simple and elegant. Thank you.

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

    Op brother Thanks for this I learned it the properties you used here is very simple nice work

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

    omg, beautiful animation and so simple to create... You're so good, thanks for help us. Greetings from Brazil :D

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

    Creative cards, good motivation.

  • @AbuBakar-om7ir
    @AbuBakar-om7ir 4 года назад +1

    Very nice keep it up brother.

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

    Awesome tutorial, thank you

  • @pattaraphongt.7853
    @pattaraphongt.7853 3 года назад +1

    Amazing work....always.
    Thanks for sharing.

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

    Sir you are really awsome as u always come up with amazing ideas..................

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

    You Are a best Teacher!
    Thanks for awesome videos!

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

    i,loved you code

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

    The music though!! 👌

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

    Thanks man ! Love your channel !

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

    Awesome bud ! Kudos !

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

    Excelente. Como hago para hacer lo mismo pero que el texto que esta debajo lo extraiga de una base de datos.?

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

    what is the size of the images?

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

    In order for it to work properly .Container { justify-content: left;
    align-items: left;}

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

    Simply awesome ❤️❤️🤗🤗

  • @abdulasilva2712
    @abdulasilva2712 4 года назад +8

    E se eu quiser colocar mais 4 cards, posso??

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  4 года назад +15

      4-5-6-7 any numbers of card you can use...just add "flex-wrap: wrap" in container...
      If you want to add 4 cards in a row...then adjust width of box and container

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

    Thank you, yeah this one is great, it is responsive!

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

    Amazing content

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

    'Best video on RUclips'
    #danishwebcreator

  • @ISBEL2609
    @ISBEL2609 4 года назад +6

    i will going to try this, i really hope that this time I approve it xD

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

    Great stuff, I learnt heaps today. Thanks you

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

    super tutorial
    super tutorial

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

    You are really creative

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

    in mobile and tablet once i click the card,it opens up but after clickin the same card again it doesn't close?????
    any solution????

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

    Awesome sir

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

    How big are the images?

  • @Leeshen143
    @Leeshen143 7 месяцев назад

    What apps do you use?

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

    If it was possible I would have given you millions of likes

  • @khan.hassan
    @khan.hassan 4 года назад +1

    Amazing!

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

    smooth

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

    Fantastic brother👌👌👌😍

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

    I Love all of your contents. Amazing Man! keep up the good work, we are learning so much from you. Love form Ethiopia

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

    Just as each video you make, its awesssssssssssommmmmeeeee!! You have a great talent!! Tnx for sharing!!

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

    Sir I also do everything you do I love your videos I always like

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

    Nice

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

    Awesome!

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

    very cool. I want to make it too

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

    please someone tell me whats the width and height of the images he used in this video

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

    You're the Sachin Tendulkar of front-end design :D

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

    Tidy! Simple clean and easy to replicate, as always.

  • @KothaleMansi
    @KothaleMansi 3 года назад +3

    When I hover on a card my rest cards slightly moves downwards with their images and when I hover out the rest of the cards moves upwards I don't know why

    • @MalteS.
      @MalteS. 3 года назад +1

      I have that problem, too.

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

      @@MalteS. I got its solution
      Just give max-height:100px(or you may adjust the pixels according to your code) to the div you have created before the division card.
      I hope this will help you

    • @MalteS.
      @MalteS. 3 года назад +1

      @@KothaleMansi Thanks I will try it later 🙂👌

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

      @@KothaleMansi i try to add it to my project but all box are showing vertically in place of horizontally

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

    Love your work, man. You're awesome. 10 stars for you. But I don't possibly get same result as your final outcome because I believe some codes are missing.

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

      His vid's are teasers. If you want the source code he has a link to his patreon. Become a member to get access. As well as a link to his Udemy courses. To be honest, not a bad idea considering the quality of work he does and his depth of knowledge in front end dev. Looks like a good value to me. I read some reviews of his Udemy courses and there are a few comments regarding music / code alongs (like these) so he still needs to do work with narration / discussion of WHY he's coding something a particular way, etc... However, I think, this way works too it just forces you to do the legwork to uncover the why in most cases.

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

    Sir, why did u all use position:relative ?

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

    Ótimo vídeo parabéns 👏 .

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

    Thanks for help me!

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

    What changes are we suppose to make if are making this in a section of a whole website

  •  3 года назад

    thanks guy

  • @user-xz1qs1ng6s
    @user-xz1qs1ng6s 3 года назад

    very nice

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

    Hi, it doesn't work the automatic adjust for each device, in mobile also are inline and not one underneath the other, i'm using shopify

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

    Just wow...

  • @RANDOMMANIA-jp8bv
    @RANDOMMANIA-jp8bv 4 года назад

    Awesome code Sir I liked it. Please share the images you used

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

    Big fan sir

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

    thanks 😍

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

    U have no subscribers af carry or bb or ashish but aap humare dil mein raaj karte ho

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

    thx dude

  • @SANTOSH-pc9pm
    @SANTOSH-pc9pm 4 года назад +9

    Sir everything u create is just assume.
    Am do all of these

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

    O melhor !!

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

    what was actual size of those images??

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

    THANK U

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

    How's the responseness on desktop when opening a card in multiple rows of cards.
    Why you didn't show that?

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

      Its responsive bro

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

      @@OnlineTutorialsYT Yes, you showed the responsiveness. I meant on a desktop with multiple rows of cards, when you open a card, what will happen to the cards on the subsequent rows? At 0:30 we can have an idea but not much.
      Liked the animation smoothness when opening a card.

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

    A question: why do you select two even three classes? Is not enought with just select the class in specific?

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

      Sometimes you might have other element with same class , so in order to apply CSS to only that particular element ,he selects that many classes

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

      @@ruchiray8557 TYSM!

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

    Hola, una pregunta, las imagenes que tamaño tienen?

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

    Broo u are creating a amazing tutorial 😍😍
    Please provide images link or give the dimensions please 🤗🤗

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

      Use any size of square image...min width and height is 260px

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

      @@OnlineTutorialsYT please give for ever video

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

      Use source.unplash for phtos of any size
      Thanks me later

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

    I love this, but I did what you did in this video in its own separate project file (not adding it to mine), and the entire row of cards shifts down when one of them opens. How can I fix this?

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

    Hi, I work over your code and it is done everything working fine except the first one card giving trouble to me. How can I solve it?

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

    hello, good tutorial, how can this be a post without re-creating content in the code section.

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

    I will try :3

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

    It's cool

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

    Sir why you not make a group in telegram.

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

    From where we will get the link of import
    google api u used in css ?

  • @meosamudazai
    @meosamudazai 4 года назад +6

    I'm 50 second late

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

    Irshad Sir...I tried making these CSS Cards but there were some minor issue...90% success achiived...please help sir...you are my inspiration

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

    My background color doesn’t work

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

    please write code in description box

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

    Nice work. But making it responsive for mobile screens is useless. Can't hover on mobile devices.

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

      Its responsive.....just click for mobile instead hover

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

    I use scss and no text appears on hover. and if you turn on the hover forcibly in the inspection, then everything works (it's a shame
    *sorry.>google translate (

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

    how to auto-reload like in the video?

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

    These cards have a fixed height, so if you add a few lines of text, it won't work...

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

    Do you have the code without having to get into that patreon thing?

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

      yes Join the RUclips membership and he posts it in the members forum. only $4.99

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

    Can u give a solution by adding a button if site is viewed in mobile screen

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

    Where i can download those images?

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

    노래제목좀알려주세요^^

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

    Bro, what is difference between justify content and align item. I searched on web but i got confused about cross axis and main axis😅

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

      Align items let you position your elements vertically while justify content does horizontally

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

      Justify Content set your element along the Main/Primary axis where as Align Items set at Secondary Axis.
      For Example : If you set "flex-direction" to "column" for your main div, then your main axis is vertical & Justify Content : Center sets your Element on Vertically Center. here if you set Align Items : center then it sets it to secondary axis that is horizontally center.
      So act according to primary axis (Justify Content) & secondary axis (Align Items). Hope this helps.

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

    i put the cards horizontally , put when i hover one the other cards have some move ,why that ?

    • @360videospot
      @360videospot 4 года назад

      Don't forget to put min-height: 100vh; (in body css)

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

    Hice todo igual y no me sirvióel código

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

    done