This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*begin all media*/ | |
/*------- begin Media ----------*/ /*1200*/ | |
@media screen and (max-width: 1200px) and (min-width: 992px) { | |
} | |
@media screen and (min-width: 1200px) { | |
} | |
@media screen and (max-width: 1200px) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* case1 */ | |
/*to right*/ | |
.btn:hover { | |
box-shadow: inset 100px 0 0 0 #e0e0e0; | |
color: #fff; | |
} | |
/*to left*/ | |
.btn:hover { | |
box-shadow: inset -100px 0 0 0 #e0e0e0; | |
color: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); | |
bottom: 0; | |
content: ""; | |
display: block; | |
height: 40px; | |
left: 0; | |
position: absolute; | |
right: 0; | |
z-index: 6; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin flexbox() { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
} | |
@mixin flex($values) { | |
-webkit-box-flex: $values; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
position: relative; | |
left: 50%; | |
-webkit-transform: translate(-50%, 0); | |
transform: translate(-50%, 0); | |
width: 100vw; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[type=reset], [type=submit], button, html [type=button] { | |
-webkit-appearance: button; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* begin animate transition text in block on hover effect */ | |
.tile-section .sppb-col-md-4 .sppb-addon-single-image:hover > .sppb-addon-title { | |
transition: .4s; | |
transform: translateY(0); | |
opacity: 1; | |
} | |
.tile-section .sppb-col-md-4 .sppb-addon-content { | |
position: relative; | |
z-index: -1; | |
transition: .9s; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function declOfNum(number, titles) { | |
cases = [2, 0, 1, 1, 1, 2]; | |
return titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ]; | |
} | |
use: | |
declOfNum(count, ['найдена', 'найдено', 'найдены']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.element { | |
position: relative; | |
} | |
/*replace the content value with the | |
corresponding value from the list below*/ | |
.element:before { | |
content: "\f000"; | |
font-family: FontAwesome; |