1
0
Fork 0

Add CSS for added classes

This commit is contained in:
Stasiek Michalski 2018-06-03 03:28:58 +02:00 committed by GitHub
parent 66f285c2b1
commit ea119a28ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -153,3 +153,23 @@ body, button, input, textarea {
.font-weight-ultralight {
font-weight: 200 !important;
}
.square {
position: relative;
width: 100%;
}
.square::after {
content: "";
display: block;
padding-bottom: 100%;
}
.square-content {
position: absolute;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
background-position: 50%;
}