Skip to content

Instantly share code, notes, and snippets.

@carboleda
Created February 13, 2019 02:06
Show Gist options
  • Save carboleda/230ced18647d0956f6ccd0e15114659b to your computer and use it in GitHub Desktop.
Save carboleda/230ced18647d0956f6ccd0e15114659b to your computer and use it in GitHub Desktop.
Movie scraping
body {
font-family: sans-serif;
}
.movies {
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex-flow: wrap;
justify-content: flex-start;
align-content: end;
}
.movies > .item {
bottom: 0;
background: #00000070;
text-align: center;
color: #ffffff;
position: relative;
margin: 4px;
}
.movies > .item > span.top {
top: 0;
right: 0;
position: absolute;
font-weight: bold;
color: red;
margin: 4px;
}
.movies > .item > span.bottom {
bottom: 0;
left: 0;
position: absolute;
background: #0000004f;
width: 100%;
}
.movies > .item > img {
position: initial;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment