Forums

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

Home Forums CSS how to make sharp corners css box style Re: how to make sharp corners css box style

#109212
Kitty Giraudel
Participant

You’ll need 2 nested elements in order to have 4 pseudo-elements, one for each corner. Then, you just have to give pseudo-elements the same background color as the background of your page, and rotate them.