/
/
home
/
u523034047
/
domains
/
gmcrudrapur.com
/
public_html
/
ramch
/
static
/
css
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.144
PHP 8.3.16
Dir:
/home/u523034047/domains/gmcrudrapur.com/public_html/ramch/static/css
Edit:
/home/u523034047/domains/gmcrudrapur.com/public_html/ramch/static/css/hover-box.css
/* * Author: Piotr Elmanowski * Company: Frontoes.com * Distributed and described: css-workshop.com * v1.0 */ .hvrbox, .hvrbox * { box-sizing: border-box; } .hvrbox { position: relative; display: inline-block; overflow: hidden; max-width: 100%; height: auto; } .hvrbox img { max-width: 100%; } .hvrbox_background { width: 400px; height: 250px; background-size: cover; background-position: center center; background-repeat: no-repeat; } .hvrbox .hvrbox-layer_bottom { display: block; } .hvrbox .hvrbox-layer_top { opacity: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background: #273a49; color: #fff; padding: 15px; -moz-transition: all 0.4s ease-in-out 0s; -webkit-transition: all 0.4s ease-in-out 0s; -ms-transition: all 0.4s ease-in-out 0s; transition: all 0.4s ease-in-out 0s; } .hvrbox:hover .hvrbox-layer_top, .hvrbox.active .hvrbox-layer_top { opacity: 1; } .hvrbox .hvrbox-text { text-align: center; font-size: 15px; display: inline-block; position: absolute; top: 50%; left: 50%; -moz-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .hvrbox .hvrbox-text_mobile { font-size: 15px; border-top: 1px solid rgb(179, 179, 179); /* for old browsers */ border-top: 1px solid rgba(179, 179, 179, 0.7); margin-top: 5px; padding-top: 2px; display: none; } .hvrbox.active .hvrbox-text_mobile { display: block; } .hvrbox .hvrbox-layer_image { padding: 0; background: none; } .hvrbox .hvrbox-layer_slideup { -moz-transform: translateY(100%); -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); } .hvrbox:hover .hvrbox-layer_slideup, .hvrbox.active .hvrbox-layer_slideup { -moz-transform: translateY(0); -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } .hvrbox .hvrbox-layer_slidedown { -moz-transform: translateY(-100%); -webkit-transform: translateY(-100%); -ms-transform: translateY(-100%); transform: translateY(-100%); } .hvrbox:hover .hvrbox-layer_slidedown, .hvrbox.active .hvrbox-layer_slidedown { -moz-transform: translateY(0); -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } .hvrbox .hvrbox-layer_slideleft { -moz-transform: translateX(100%); -webkit-transform: translateX(100%); -ms-transform: translateX(100%); transform: translateX(100%); } .hvrbox:hover .hvrbox-layer_slideleft, .hvrbox.active .hvrbox-layer_slideleft { -moz-transform: translateX(0); -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } .hvrbox .hvrbox-layer_slideright { -moz-transform: translateX(-100%); -webkit-transform: translateX(-100%); -ms-transform: translateX(-100%); transform: translateX(-100%); } .hvrbox:hover .hvrbox-layer_slideright, .hvrbox.active .hvrbox-layer_slideright { -moz-transform: translateX(0); -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } .hvrbox .hvrbox-layer_scale { border-radius: 50%; -moz-transform: scale(0); -webkit-transform: scale(0); -ms-transform: scale(0); transform: scale(0); } .hvrbox:hover .hvrbox-layer_scale, .hvrbox.active .hvrbox-layer_scale { border-radius: 0%; -moz-transform: scale(1); -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .hvrbox .hvrbox-layer_rotate { border-radius: 50%; -moz-transform: rotateZ(0); -webkit-transform: rotateZ(0); -ms-transform: rotateZ(0); transform: rotateZ(0); } .hvrbox:hover .hvrbox-layer_rotate, .hvrbox.active .hvrbox-layer_rotate { border-radius: 0%; -moz-transform: rotateZ(360deg); -webkit-transform: rotateZ(360deg); -ms-transform: rotateZ(360deg); transform: rotateZ(360deg); } .hvrbox .hvrbox-layer_scale-rotate { border-radius: 50%; -moz-transform: scale(0) rotateZ(0); -webkit-transform: scale(0) rotateZ(0); -ms-transform: scale(0) rotateZ(0); transform: scale(0) rotateZ(0); } .hvrbox:hover .hvrbox-layer_scale-rotate, .hvrbox.active .hvrbox-layer_scale-rotate { border-radius: 0%; -moz-transform: scale(1) rotateZ(360deg); -webkit-transform: scale(1) rotateZ(360deg); -ms-transform: scale(1) rotateZ(360deg); transform: scale(1) rotateZ(360deg); }
Ukuran: 4.2 KB