Masonry grid testing.

This commit is contained in:
kor 2018-07-14 21:24:25 +12:00
parent 0c3f2d4eaf
commit 4051e60007

View File

@ -4,6 +4,26 @@ html {
font-size:1em;
}
/*#content div:nth-child(4n+1) {
grid-column-end: span 2;
grid-row-end: span 2;
}
#content div:nth-child(2) {
grid-column: 3;
grid-row: 2 / 4;
}
#content div:nth-child(5) {
grid-column: 1 / 3;
grid-row: 1 / 3;
}*/
#content {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: 100px;
grid-gap: 10px;
grid-auto-flow: dense;
}
/* LINK */
a {
color:#000;
@ -20,9 +40,9 @@ a#urlseen {
#entry, #entryImportant {
color:#000;
background:#999;
margin-bottom:1em;
padding:0.5em;
min-height:2.4em;
float:left;
}
#entryImportant {
color:#DCDCDC;