JSFiddle - React, Tailwind, and code Playground
by nikolya223
HTML
<div class="stage">
<div class="cubespinner">
<div class="face1"><a class="svetopoz"><h4>dfghfdhdfgh</h4></a></div>
<div class="face2"><a class="okna-dveri"><h4>dfghdfhgdfgh</h4></a></div>
<div class="face3"><a class="steklo"><h4>dfghdfghfgdh</h4></a></div>
<div class="face4"><a class="foto"><h4>dfhgdfghdfgh</h4></a></div>
<div class="face5"><a class="peregorodki"><h4>dfghfdghfgh</h4></a></div>
<div class="face6"><a class="vent-fasadi"><h4>fdghdfghgfdhfdgh</h4></a></div>
</div>
</div>
CSS
*{
/* Universal reset: */
margin:0;
padding:0;
}
header,footer,
article,section,
hgroup,nav,
figure{
/* Giving a display value to the HTML5 rendered elements: */
display:block;
}
body, html{
/* Setting the default text color, size, page background and a font stack: */
font-size:0.825em;
color:#fcfcfc;
height: 100%;
width: 100%;
background-image: url(img/bg.png);
font-family: Helvetica, sans-serif,Arial;
}
.frame-block {
overflow: hidden;
position: absolute;
left: 220px;
top: 150px;
height:500px;
width:710px;
/*background-image: url(img/bg.png);*/
}
/*#frameAll {
left: 220px;
top: 150px;
}*/
/*фоновая картика слева - двери*/
.fon-img {
position: absolute;
left:0px;
top:0px;
opacity: 0.3;
}
/* Hyperlink Styles: */
a, a:visited {
color:#0196e3;
text-decoration:none;
outline:none;
cursor: pointer;
}
a:hover{
text-decoration:none;
}
a img{
border:none;
}
/* Headings: */
h1,h2,h3{
font-family:"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
text-shadow:0 1px 1px black;
}
h1{
/* The logo text */
font-size:3.5em;
padding:0.5em 0 0;
text-transform:uppercase;
color: #51AABE;
}
h3{
/* The slogan text */
font-family:forte,"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
font-size:2em;
font-weight:normal;
margin:0 0 1em;
}
h2{
font-size:2.2em;
font-weight:normal;
letter-spacing:0.01em;
text-transform:uppercase;
}
h4 {
font-family:"Myriad Pro",Sans-Serif,Arial,"Helvetica Neue",Helvetica;
font-size:18px;
/*font-weight:normal;*/
margin:0 0 1em;
text-transform:uppercase;
padding: 3em 0 0;
text-shadow:-1px -1px 1px rgba(255,255,255,0.2), /* наверх и влево */
1px 1px 1px rgba(255,255,255,0.2), /* вниз и вправо */
1px 1px 1px rgba(0,0,0,0.7); /* тёмная тень */
}
p{
line-height:1.5em;
padding-bottom:1em;
}
.line{
/* The dividing line: */
height:1px;
background-color:#24404c;
border-bottom:1px solid #416371;
margin:1em 0;
overflow:hidden;
}
article .line{
/* The...