My projects
2021-01-05_092205.png
CSS kodi:
*{margin: 0; padding: 0;}
body
{
background: linear-gradient(to right, #3399fe, #cccccc)
}
.sayt
{
width: 1300px;
margin: 20px auto;
box-shadow: 8px 8px 8px black;
display: flex;
flex-direction: column;
color: gray;
background-color: #ffffff;
}
.top_header
{
width: 1298px;
height: 50px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.tillar
{
width: 370px;
height: 30px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
align-content: stretch;
}
.tillar p:hover
{
background: #5da9ff;
transition-duration: 0.2s;
border-radius: 10px;
}
.soat
{
width: 270px;
height: 50px;
line-height: 20px;
text-align: center;
}
input[type="search"]
{
height: 40px;
width: 200px;
margin-left: 38px;
text-align: center;
line-height: 40px;
border: none;
}
.izlash
{
width: 240px;
padding: 4px;
background-image: url(img/izlash.png);
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: 9px 15px;
}
.imkoniyat
{
width: 200px;
height: 50px;
background-image: url(img/Shape_1.png);
background-repeat: no-repeat;
background-size: 27px 20px;
background-position: 0px 15px;
}
.imkoniyat p
{
padding-left: 25px;
line-height: 26px
}
.header
{
width: 1298px;
height: 230px;
font-size: 30px;
background-image: url(img/c1.png), url(img/Layer_1.png);
background-repeat: no-repeat , no-repeat;
background-size: 150px 150px, 280px 200px;
background-position: 170px 40px , 1000px 15px;
}
.header
{
display: flex;
flex-direction: column;
align-items: center;
line-height: 40px;
}
.muhim
{
padding-top: 40px;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.bottom_header
{
width: 1298px;
height: 40px;
background: #cccccc;
}
.bottom_header ul
{
display: flex;
flex-direction: row;
justify-content: center;
list-style: none;
}
.bottom_header ul li
{
line-height: 40px;
width: 16%;
font-size: 18px;
text-align: center;
}
.bottom_header ul li:hover
{
background-color: #3399fe;
transition-duration: 0.5s;
border-radius: 20px;
opacity: 0.6;
}
.bottom_header ul li a
{
text-decoration-line: none;
}
.bottom_header ul li ul
{
display: none;
text-align:center;
}
*{margin: 0; padding: 0;}
body
{
background: linear-gradient(to right, #3399fe, #cccccc)
}
.sayt
{
width: 1300px;
margin: 20px auto;
box-shadow: 8px 8px 8px black;
display: flex;
flex-direction: column;
color: gray;
background-color: #ffffff;
}
.top_header
{
width: 1298px;
height: 50px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.tillar
{
width: 370px;
height: 30px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
align-content: stretch;
}
.tillar p:hover
{
background: #5da9ff;
transition-duration: 0.2s;
border-radius: 10px;
}
.soat
{
width: 270px;
height: 50px;
line-height: 20px;
text-align: center;
}
input[type="search"]
{
height: 40px;
width: 200px;
margin-left: 38px;
text-align: center;
line-height: 40px;
border: none;
}
.izlash
{
width: 240px;
padding: 4px;
background-image: url(img/izlash.png);
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: 9px 15px;
}
.imkoniyat
{
width: 200px;
height: 50px;
background-image: url(img/Shape_1.png);
background-repeat: no-repeat;
background-size: 27px 20px;
background-position: 0px 15px;
}
.imkoniyat p
{
padding-left: 25px;
line-height: 26px
}
.header
{
width: 1298px;
height: 230px;
font-size: 30px;
background-image: url(img/c1.png), url(img/Layer_1.png);
background-repeat: no-repeat , no-repeat;
background-size: 150px 150px, 280px 200px;
background-position: 170px 40px , 1000px 15px;
}
.header
{
display: flex;
flex-direction: column;
align-items: center;
line-height: 40px;
}
.muhim
{
padding-top: 40px;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.bottom_header
{
width: 1298px;
height: 40px;
background: #cccccc;
}
.bottom_header ul
{
display: flex;
flex-direction: row;
justify-content: center;
list-style: none;
}
.bottom_header ul li
{
line-height: 40px;
width: 16%;
font-size: 18px;
text-align: center;
}
.bottom_header ul li:hover
{
background-color: #3399fe;
transition-duration: 0.5s;
border-radius: 20px;
opacity: 0.6;
}
.bottom_header ul li a
{
text-decoration-line: none;
}
.bottom_header ul li ul
{
display: none;
text-align:center;
}