Use shorthand to spread grid column
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// Information
|
||||
&__info {
|
||||
--delay: 0.2s;
|
||||
grid-column: 1 / span var(--columns);
|
||||
grid-column: 1 / -1;
|
||||
margin-bottom: 32px;
|
||||
padding: 0 20px;
|
||||
overflow: hidden;
|
||||
@@ -68,12 +68,12 @@
|
||||
// Photo
|
||||
&__photo {
|
||||
position: relative;
|
||||
grid-column: span var(--columns);
|
||||
grid-column: 1 / -1;
|
||||
opacity: 0;
|
||||
transition: opacity 2s var(--ease-quart);
|
||||
|
||||
& > a {
|
||||
grid-column: span var(--columns);
|
||||
grid-column: 1 / -1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user