Here is my html code:
<div class="container" style="margin-top:30px">
<div class="row">
<div class="col-sm-4">
<h2>About Me</h2>
<h5>Photo of me:</h5>
<div class="party">
<img class="party-img" src="party.jpg"></img>
</div>
Here is my css code:
.container .row .col-sm-4 .party {
border-left: 5px solid black;
border-bottom: 3px solid black;
border-top: 1.7px solid black;
border-right: 1.7px solid black;
}
.container .row .col-sm-4 .party .party-img img{
position: relative;
z-index: -1;
background-image: linear-gradient(to right, yellow, blue)
}
when I apply the gradient, the gradient is nonexistent.