mirror of
https://github.com/anatolykopyl/scrollable-cards.git
synced 2026-03-26 14:54:31 +00:00
Initial commit
This commit is contained in:
29
style.css
Normal file
29
style.css
Normal file
@@ -0,0 +1,29 @@
|
||||
* {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#cardholder {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#scroll_btn {
|
||||
font-size: xx-large;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.card {
|
||||
display: inline-block;
|
||||
padding: 10px;
|
||||
margin: 10px;
|
||||
border: 1px solid;
|
||||
border-radius: 12px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
border-radius: 7px;
|
||||
}
|
||||
Reference in New Issue
Block a user