How can I move this form over the "carousel"?
<html>
<head>
<title>test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="https://wallpaperscraft.com/image/asia_skyscrapers_river_top_view_night_lights_city_28590_1920x1080.jpg" width="100%" height="100%">
</div>
<div class="item">
<img src="http://eskipaper.com/images/top-city-wallpapers-1.jpg" width="100%" height="100%" class="img-responsive">
</div>
<div class="item">
<img src="http://www.creativehdwallpapers.com/uploads/large/city/top-5-city-wallpaper.jpg" width="100%" height="100%" class="img-responsive">
</div>
</div>
<div class="vertical-center">
<div class="container-fluid">
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-12">
<form>
<div class="form-group">
<label for="numeutilizator">Nume de utilizator</label>
<input type="text" name="unr" class="form-control" id="numeutilizator" placeholder="Nume de utilizator">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" name="emr" class="form-control" placeholder="<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="95d0f8f4fcf9d5f0f8f4fcf9bbf1faf8">[email protected]</a>" id="email">
</div>
<div class="form-group">
<label for="parola">Parola</label>
<input type="password" class="form-control" name="pwr" placeholder="********" id="parola">
</div>
<div class="form-group">
<input type="submit" name="r" class="btn btn-default" value="Inregistreaza-te">
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
css code
.vertical-center {
min-height: 100%;
min-height: 100vh;
display: flex;
align-items: center;}
form
{
border-radius: 15px 15px 15px 15px;
margin:auto;
padding: 25px;
text-align: center;
background-color:rgba(237,237,237,0.5);
background-color:hsla(0, 0% ,93%,0.5);
width: 500px;
}
I have attempted using z-index and other methods, but have not been successful. My objective is to set the carousel as a background image. If anyone has any advice or suggestions on how to achieve this, please let me know. Alternatively, is there another element similar to a carousel that could be used as a slide...? or view the jsfiddle link below.
https://jsfiddle.net/7bzL8p2y/11/