-2
Follow my HTML code:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8"/>
<title>web page</title>
<link rel="stylesheet" type='text/css' href="css/estilo.css"/>
</head>
<body>
<div id="principal">
<section id="corpo">
<header>
<hgroup>
<h1>#desafio100videos                 Faltam 13 videos</h1>
<ul id="imagens">
<li id="01"></li>
<li id="02"></li>
<li id="03"></li>
<li id="04"></li>
<li id="05"></li>
<li id="06"></li>
</ul>
</hgroup>
</header>
</section>
</div>
</body>
</html>
Segue meu código CSS:
@charset "UTF-8";
section#corpo {
width: 1300px;
padding-right: 20px;
padding-left: 20px;
font-family: Blippo, fantasy;
}
ul#album-fotos {
width: 700px;
margin: 0 auto;
padding: 50px;
overflow: hidden;
list-style: nome;
}
ul#imagens li{
float: left;
width: 225px;
height: 165px;
margin: 10px;
border: 5px, solid #ffffff;
background-color: #ffffff;
box-shadow: 1px 1px 3px rgba(0, 0, 0,.4);
-webkit-transition: all .4s ease-in;
}
ul#imagens li span{
opacity: 0;
color: #ffffff;
text-shadow: 1px 1px 1px #000000;
background-color: rgba(0, 0, 0, .3);
font-size: 9pt;
line-height: 370px;
padding: 5px;
}
ul#imagens li#01{
background-image: url('../img/_text.png');
background-position: 50% 50%;
background-size: 400px 400px;
background-color: #ffffff;
}
ul#imagens li#01:hover{
background-position: 0px 0px;
background-size: 200px 200px;
}
Bruno as @Maujor commented below the tab
<hgroup>
it should no longer be used as it is obsolete, read about here: https://answall.com/questions/331928/qual-outra-tag-pode-ser-utilizada-para-substr-o-hgoup– hugocsl
Thank you very much!
– BrunoSuarez