"Untitled"
Bootstrap 4.1.1 Snippet by raquel2020

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="wall wall-1" id="wall-1"> <a href="#wall-3">Voltar</a> <h1>Carrocel numero - 1</h1> <a href="#wall-2">Avançar</a> </div> <div class="wall wall-2" id="wall-2"> <a href="#wall-1">Voltar</a> <h1>Carrocel numero - 2</h1> <a href="#wall-3">Avançar</a> </div> <div class="wall wall-3" id="wall-3"> <a href="#wall-2">Voltar</a> <h1>Carrocel numero - 3</h1> <a href="#wall-1">Avançar</a> </div> </div>
.container{ width: 150px; height: 150px; } .wall{ display: none; width: 100%; height: 100%; } /* Corzinha de fundo para diferenciar */ .wall-1{ background-color: #f00; } .wall-2{ background-color: #0f0; } .wall-3{ background-color: #00f; } .wall:target{ display: block; }
window.location = "#wall-1";

Related: See More


Questions / Comments: