Is there a way to make this specific code only apply when the id is set to myCarousel? I am using Bootstrap for this project.
I attempted to use the #myCarousel tag, but it didn't have the desired effect.
.carousel {
margin-top: -20px;
height: 675px;
margin-bottom: 70px;
}
.carousel-caption {
z-index: 10;
height: 350px;
}
.carousel .item {
height: 675px;
background-color: #777;
}
.carousel-inner > .item > img {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 675px;
}