Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 83 additions & 12 deletions card.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
width: 100%;
margin-top: 30px;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}

@media screen and (max-width:600px) {
.cards-list {
width: 80%;
/* flex-direction: column; */
}
}


.card {
margin: 30px;
Expand Down Expand Up @@ -46,9 +42,14 @@
font-size: 20 px;
margin-top: 3px;
height: 40px;

color: white;
/* color: aqua; */
/* line-height: 100px; */
}



.card:hover {
transform: scale(0.9, 0.9);
box-shadow: 5px 5px 30px 15px rgba(0, 0, 0, 0.25),
Expand All @@ -62,14 +63,84 @@
.title-black {
color: rgb(250, 250, 250);
}
@media screen and (max-width:1200px) {

section{
overflow-x: hidden;

}
.scroller{
overflow-x: scroll;
white-space:nowrap;
display: block;
margin: 0;
padding: 0;
}
.cards-list {
/* background-color: aqua; */
display: block;
padding-left: 10px;
overflow-y: hidden;
overscroll-behavior-inline: contain;
margin: 0;
padding: 0;



}
.cards-list{
margin-top: 0;
}
.card {
margin: 0;
padding: 0;
height: 150px;
width: 150px;
margin: 30px;
display:inline-block;
box-shadow: 0px 0px 20px 1px;
/* display: inline-block; */

@media all and (max-width: 560px) {
.card-list {
/* On small screens, we are no longer using row direction but column */
flex-direction: column;
}
}

::-webkit-scrollbar{
width: 0;
}
@media screen and (max-width:600px){
.cards-list{

padding: 0;
margin-top: 0px;
}
.card {
/* padding-top: 30px; */
height: 100px;
width: 100px;
box-shadow: 0px 0px 10px 3px;
/* box-shadow: 0; */
margin-top: 10px;
border-radius: 20px;
display:inline-block;
}
.card .card_image{
border-radius: 20px;
}
.card .card_image img{
border-radius: 20px;
}
p{
/* height: 100px; */
/* width: 100px; */
/* padding: 20px; */
/* background-color: aqua; */
display: flex;
text-align: center;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}

}

/*
.card {
Expand All @@ -85,4 +156,4 @@
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
transition: 0.4s;
}
*/
*/}
Loading