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