- Я использую CSS и HTML для создания изображений, таких как (CD трее с компакт-дисками, пожалуйста, не то же самое, просто представьте).
- Я пытался, но мне нужно изображение, как
- здесь я попробовал с моим кодом
Для подставки HTML
<div class="baseStand">
<span class="stand"></span>
</div>
CSS
.stand {
content: "\007c";
height: 400px;
width: 40px;
background-color: grey;
left: 88px !important;
position: fixed !important;
top: 12% !important;
border-radius: 15px;
}
Здесь для колец HTML
<div class="main_div">
<div class="div-list-1">
<ul class="tabrow">
<li style="background-color: red">
<a style="cursor: pointer;" data-toggle="modal" data-target="#modal">Tabd-1</a>
</li>
<li style="background-color: green">
<a style="cursor: pointer;" data-toggle="modal" data-target="#modal">Tabd-2</a>
</li>
<li style="background-color: yellow" class="selected">
<a style="cursor: pointer;" data-toggle="modal" data-target="#modal">Tabd-3</a>
</li>
<li style="background-color: blue">
<a style="cursor: pointer;" data-toggle="modal" data-target="#modal">Tabd-4</a>
</li>
</ul>
<span class="span-name">
<a class="span-name-1" style="cursor: pointer;">Name Here</a>
</span>
</div>
</div>
Здесь код Css
.div-list-1 {
border-radius: 25px;
background: #73AD21;
height: 40px;
margin-top: 0px;
}
.span-name {
color: white;
text-align: center;
/* padding-left: 20%;
padding-bottom: 10%; */
margin: 0 auto;
display: block;
}
Здесь код css
.tabrow {
text-align: center;
list-style: none;
/* margin: 200px 0 20px; */
padding: 0px;
line-height: 20px;
height: 20px;
overflow: hidden;
font-size: 15px;
font-family: verdana;
position: relative;
margin-bottom: 0% !important;
}
.tabrow li:first-child{
border: 1px solid #AAA;
background: #D1D1D1;
background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
display: inline-block;
position: relative;
z-index: 0;
border-top-left-radius: 15px;
/* box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
text-shadow: 0 1px #FFF; */
margin: 0 -5px;
padding: 0 18px;
color: white;
font-weight: bold;
}
.tabrow li {
border: 1px solid #AAA;
background: #D1D1D1;
background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
display: inline-block;
position: relative;
z-index: 0;
margin: 0 -5px;
padding: 0 18px;
color: white;
font-weight: bold;
}
.tabrow li:last-child {
border: 1px solid #AAA;
background: #D1D1D1;
background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
display: inline-block;
position: relative;
z-index: 0;
border-top-right-radius: 15px;
margin: 0 -5px;
padding: 0 18px;
color: white;
font-weight: bold;
}
.tabrow a {
color: #FFF;
text-decoration: none;
font-size: medium;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}