Forums

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

Home Forums CSS Creating a old style photoframe with css

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31468
    organicweb
    Member

    Hi, Im trying to create this effect Photoframe in CSS, but i want it to be able to be flexible so i can add it to any image on a wordpress site im building, no matter what the dimentions are. I have tried to figure this out but cat seem to get the four corners to display properly.

    Any help would be much apprecated…

    Many thank

    the new guy!

    #63189
    jamygolden
    Member

    If you look at that, it’s just a thick border with those little side things.

    I would wrap the image in a div, give the div that thick border and then use the :before and :after pesudo element on the div and the image to add the corners and to position them. I’ve never done that before but I don’t see why it wouldn’t work.

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