diff --git a/styles/card.css b/styles/card.css index 3e0d00d..43932f4 100644 --- a/styles/card.css +++ b/styles/card.css @@ -6,6 +6,7 @@ height: 10rem; width: 20rem; padding: 3em; + margin: 1.7rem; /* for better display */ border: 0.3em solid black; border-radius: 2em; background-color: white; @@ -13,8 +14,6 @@ .item { margin: 1rem; - /* height: calc(10rem - 6em); - width: calc(20rem - 6em); */ } #main { diff --git a/views/cards.html b/views/cards.html index 351e787..2dc5a14 100644 --- a/views/cards.html +++ b/views/cards.html @@ -77,7 +77,7 @@ - + @@ -105,8 +105,8 @@ - - + + @@ -115,24 +115,22 @@ - - + + - - + + - - + + - -