Skip to content

Commit 358c734

Browse files
committed
created padding for all articles in CSS
1 parent 44b4318 commit 358c734

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Wireframe/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@ Setting the rules for how elements are placed in the article.
8383
Now laying out just the INSIDE of the repeated card/article design.
8484
Keeping things orderly and separate is the key to good, simple CSS.
8585
*/
86-
article {
86+
article {
8787
border: var(--line);
8888
padding-bottom: var(--space);
89-
90-
text-align: center;
89+
text-align: center;
9190
display: grid;
9291
grid-template-columns: var(--space) 1fr var(--space);
9392
> * {
9493
grid-column: 2/3;
9594
}
9695
> img {
9796
grid-column: 2/3;
98-
}
97+
}
98+
padding-top: 1em;
9999
}
100100
article {
101101
border: var(--line);

0 commit comments

Comments
 (0)