Forums

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

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #236358
    rauldesign
    Participant

    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

    #236367
    Paulie_D
    Member

    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.

    #236374
    Shikkediel
    Participant

    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;
    }
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.