The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Problem with css and html in boostrap
I would like to know how i can make the space around the opacity like this http://raulphotodesign.com/sample/Home.jpg
right now i have the opacity full on the image so i dont know how to really make the margin. http://raulphotodesign.com/sample
A basic codepen demo would be preferred by simple margins should be enough…depending on your HTML & CSS.
That’s why a Codepen.io demo is preferred to a link.
Or change the padding to a fixed value (it’s currently not really doing anything anyway) and use this :
#main-banners > div figcaption { padding: 10%; /* something else in px */ background-clip: content-box; }