Skip to content

Instantly share code, notes, and snippets.

@AS87-code
Last active September 18, 2017 09:05
Show Gist options
  • Save AS87-code/039b00878e09616fb437 to your computer and use it in GitHub Desktop.
Save AS87-code/039b00878e09616fb437 to your computer and use it in GitHub Desktop.
Css
font: menu;
Значение Описание
caption Шрифт используемый для элементов управления с заголовками ( кнопки, загловки разделов выпадающего меню и т.д.).
icon Шрифт, используемый в названиях иконок.
menu Шрифт используемый в меню (списки меню, пункты выпадающего меню).
message-box Шрифт диалоговых окон.
small-caption Маленький шрифт для заголовков.
status-bar Шрифт строки состояния.
==
font-family:
-apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif;
<!--HTML-->
<div class='images' id='image1'>
<div class='layer'></div>
<img src='images/picture.jpg' alt="" width="200" height="200" border="0" />
</div>
<div class='images' id='image2'>
<div class='layer'></div>
<img src='images/picture.jpg' alt="" width="200" height="200" border="0" />
</div>
<div class='images' id='image3'>
<div class='layer'></div>
<img src='images/picture.jpg' alt="" width="200" height="200" border="0" />
</div>
<div class='images' id='image4'>
<div class='layer'></div>
<img src='images/picture.jpg' alt="" width="200" height="200" border="0" />
</div>
<!--HTML-->
<!--CSS-->
.images{
float:left;
margin: 20px;
-webkit-transform:scale(1.0);
-webkit-transition-duration: 0.5s;
-moz-transform:scale(1.0);
-moz-transition-duration: 0.5s;
-o-transform:scale(1.0);
-o-transition-duration: 0.5s;
}
.images:hover{
box-shadow:0px 0px 40px #ccc;
-o-transform:scale(1.2);
-o-box-shadow:0px 0px 40px #ccc;
-moz-transform:scale(1.2);
-moz-box-shadow:0px 0px 40px #ccc;
-webkit-transform:scale(1.2);
-webkit-box-shadow:0px 0px 40px #ccc;
}
.images .layer{
width: 200px;
height: 200px;
background-color:#000;
position: absolute;
opacity:0.5;
-o-transition-duration: 0.8s;
-moz-transition-duration: 0.8s;
-webkit-transition-duration: 0.8s;
}
#image1:hover .layer{
width:0%;
}
#image2:hover .layer{
height:0%;
}
#image3:hover .layer {
height:0%;
margin-top:100px;
}
#image4:hover .layer{
margin-left:100px;
margin-top:100px;
height:0%;
width:0%;
}
<!--CSS-->
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
.animated {
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment