I'm coding a website for a friend, but the jumbotron background image keeps jumping when I scroll down the page. Can someone please explain to me what I am doing wrong? Thank you.
Codepen link here: https://codepen.io/Bekahlea/pen/bGqNaVo
.jumbotron {
padding: 2rem 1rem;
margin-bottom: 2rem;
background-image: url("../images/microphone-1074362_1920.jpg");
height: 500px;
background-attachment:fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
border-radius: 0.3rem;
color: white;
}
@media (min-width: 576px) {
.jumbotron {
padding: 4rem 2rem;
}
}
.jumbotron-fluid {
padding-right: 0;
padding-left: 0;
border-radius: 0;
}
Solved by removing: border-radius: 0.3rem; as suggested by Ali Klein.