Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS diamond shape frame around an image

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45397
    Baerspective
    Participant

    ive been trying in vane to put a diamond shape border around an image. the image gets rotated either -45 deg or 45deg which ever way i rotate the shape. i dont know how to use LESS or SASS am quite new at html5/css3.
    i cant find anything online which can answer my question (guess not querying correctly) . my head is spinning/hurting. just driving me crazy.
    thanks for your help.

    #138100
    Paulie_D
    Member

    Like this? You just have to rotate the image the opposite way.

    http://codepen.io/Paulie-D/pen/tBbno

    #138109
    Baerspective
    Participant

    Thanks. I’ll give that a try. Will let u know if I succeeded.

    #138112
    Baerspective
    Participant

    @Paulie_D: worked like a gem. Brilliant! Thanks a bundle

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.