i am trying to place a transparent div over a background image. over this transparent div there is blue color div which has drop down list and icons right aligned and some caption. it's been a day and i tried different method to achieve this by giving background image to a container, using jumbotron
, finally trying carousel
, i want to align the contents now,
current look:
my page:
<div class="container">
// some code for nav bar and logo etc
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active">
<img src="~/img/backimage.jpg" alt="Chania">
<div class="container">
<div class="carousel-caption">
<div class="row" id="ddselect">
<div class="col-md-6">
<select name="connames">
<option value="America">America</option>
<option value="UK">UK</option>
<option value="China">China</option>
<option value="India">India</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
custom css:
.carousel .carousel-inner .item .container .carousel-caption #ddselect, .carousel .carousel-inner .item .container .carousel-caption #ddselect{
background-color:#fff;
opacity: 0.7;
border: 2px solid;
border-radius: 5px;
padding-right: 800px;
padding-bottom: 250px;
}
expected output:
you can see complete view in imageur
here
i am just learning how to do custom alignment in bootstrap. any help would be great.