Не работает hover, помогите найти ошибку?

1
.header {
	background-color: darkslateblue;
	height: 177px;
	font-size: 0.8em;
	margin-left: 0px;
	margin-right: 0px;
	min-width: 900px;
}

.main, .logo, .menubar, .site_content, .footer {
	margin-left: auto;
	margin-right: auto;
}

.logo {
	width: 880px;
	padding-bottom: 40px;

}

.logo h1, .logo h2	{
	font: norma1 300% 'century gothic', arial, sans-serif;
	margin: 0 0 0 9px;
}

.logo_text h1, .logo_text h1 a, .logo_text h1 a:hover {
	padding: 22px 0 0 0;
	color: #fff;
	letter-spacing: 0.1em;
	text-decoration: none;
}

.logo_text h2 {
	font-size: 0.9em;
	padding: 4px 0 0 0;
	color: #999;
}
<!DOCTYPE html>
<html lang="ru">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<meta name="description" content="Киномонстр - это портал о кино">
	<meta name="kywords" content="фильмы, фильмы онлайн, hd"/>
	<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
	<div class="main">

		<div class="header">
			<div class="logo">
				<div class="logo_text">
					<h1><a href="/">КиноМонстр</a></h1>
					<h2>Кино - это наша страсть!</h2>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
html
css

2 ответов

1

Может закешировалась страница в браузере? Нужно сбросить кеш страницы нажав на ctrl и f5. А так тут можно посмотреть как должно быть:

https://fructcode.com/ru/courses/html-and-css/header-and-top-menu/

0

спс бро , ты лучший...

Sign up or Log in to write an answer