
Enviado em 09/06/2015 - 16:52h
boa tarde pessoal... to fazendo um trabalho da faculdade de html/css e quis fazer um pequeno slider simples mas o problema é que nao sei nada de disso e resolvi procurar sobre transições css na internet e consegui fazer o seguinte codigo:
#animacao {
width:500px;
height: 500px;
overflow:hidden;
position:relative;
}
.img{
position:absolute;
opacity:0;
width:500px;
height: 500px;
animation: 2s infinite;
}
@keyframes {
10%{opacity:1}
45%{opacity:0}
}
img:nth-child(0){animation delay: 0s}
img:nth-child(1){animation delay: 0s}
img:nth-child(2){animation delay: 0s}
<!Doctype html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<title> slider </title>
<link rel="stylesheet" href="style/transicao/style.css">
<link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="animacao">
<img src="img/slide1.jpg" class="img">
<img src="img/slide2.jpg" class="img">
<img src="img/slide1.jpg" class="img">
</div>
</body>
</html>
Instalação do K3s Single-Node com Rancher no Ubuntu 24.04
Usei o NotebookLM para Auditar Logs do Linux
Cinnamon seria a aposta acertada frente às outras interfaces gráficas mais populares?
KDE Plasma - porque pode ser a melhor opção de interface gráfica
Gentoo: detectando impressoras de rede e como fixar uma impressora por IP
WiFi Seguro: EAP-TLS com FreeRADIUS e Active Directory (LDAP).
Uma ideia para o paulo1205 (0)
Midia de instalação LM-21.3 não inicializa (2)
Necessário autenticar ao imprimir - Ubuntu X Windowns (2)









