@Zorroti

Элементы меняют свое место.?

Элементы меняют свое положение при изменение разрешения экрана:
5fd1e70821053596208390.png5fd1e7113d00e159758507.png
Вот код css

body {
	background: white;
}

header {
	background: rgba(46, 131, 242, 1);
	width: 100%;
	height: 170px;
	margin-bottom: 10px;
	margin-top: -10px;
	border-radius: 4px;
	box-shadow: 0 0 10px black; 
}

main {
	background: white;
	width: 80%;
	height: 1490px;
	margin-bottom: 10px;
}

footer {
	background: silver;
	width: 100%;
	height: 80px;
}

.cop {
	font-size: 15px;
	text-align: center; 
	margin-bottom: -5px;
}

.copyright {
	font-size: 13px;
	vertical-align: top;
}

.auth {
	margin-bottom: -5px;
}

.welcome {
	color: white;
	text-align: center;
}

.it01 {
	width: 45%;
	max-width: 45%;
}

.welcome01 {
	font-size: 20px;
	color: black;
	float: right;
	width: 52%;
}

.warn {
	text-align: center; 
	font-size: 25px;
}

.skilla {
	width: 40%;
	float: right;
}

.remember {
	widows: 60%;
	color: white;
	text-align: center;  
}

.html {
	background: red;
	color: black;
	width: 50%;
	border-radius: 10px;
}

.css {
	background: red;
	color: black;
	width: 50%;
	border-radius: 10px;
}

.js {
	background: red;
	color: black;
	width: 30%;
	border-radius: 10px;
}

.skillsa {
	float: right;
	font-size: 18px;
}

button {
	background: black;
	color: white;
	outline: none;
	padding: 10px;
	font-size: 17px;
}

.buttons{
	text-align: center;
	position: relative;
}

button:hover {
	background: rgba(43, 43, 43, 1);
	cursor: pointer;
}

button:active {
	background: green;
	color: white;
}

.learn {
	font-size: 18px;
}

.dropbtn {
    background-color: black;
    color: white;
    padding: 10px;
	font-size: 17px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: rgba(43, 43, 43, 1);}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: rgba(43, 43, 43, 1);}

  • Вопрос задан
  • 63 просмотра
Решения вопроса 1
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы