There was an error while loading. Please reload this page.
1 parent fe71bb1 commit c54a9bcCopy full SHA for c54a9bc
1 file changed
Wireframe/style.css
@@ -81,16 +81,14 @@ Setting the rules for how elements are placed in the article.
81
Now laying out just the INSIDE of the repeated card/article design.
82
Keeping things orderly and separate is the key to good, simple CSS.
83
*/
84
+
85
article {
86
border: var(--line);
- padding-bottom: var(--space);
87
- text-align: left;
+ padding: var(--space);
88
display: grid;
89
- grid-template-columns: var(--space) 1fr var(--space);
90
- > * {
91
- grid-column: 2/3;
92
- }
93
- > img {
94
- grid-column: span 3;
95
+ grid-template-rows: 1fr auto;
+}
+article img {
+ margin: auto;
96
}
0 commit comments