Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .gallery {
- @include clearfix();
- .subtitle {
- a {
- color: $mainColor;
- font-weight: 700;
- }
- }
- .fa {
- position: absolute;
- top: 50%;
- transform: translate(0, -50%);
- font-size: 40px;
- color: $mainColor;
- cursor: pointer;
- }
- .fa-angle-left {
- left: -30px;
- }
- .fa-angle-right {
- right: -30px;
- }
- .gallery_item {
- background: url('../img/spinner.png') no-repeat;
- background-position: center;
- background-size: 50px;
- float: left;
- width: 20%;
- cursor: pointer;
- border-right: 1px solid #fff;
- &:last-child {
- border-right: 0;
- }
- .gallery_image {
- height: 0;
- padding-bottom: 100%;
- position: relative;
- img {
- position: absolute;
- height: 100%;
- left: 0;
- top: 0;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement