- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
how can i make css box style like this one ..
http://img684.imageshack.us/img684/7283/howi.png
any help please !!
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.
So I figured up to this out for you: http://codepen.io/odd-e/pen/rluKn
thanks for your help HugoGiraudel & Odd_E ..
is there another method to hide corners without make its like background color ?
because may be i’ll set image as background page .. !!
in this case { cut1 & cut2 } will appear !!
Nope, sorry. That’s why this isn’t really a solution, but it’s the only non-image way. :-/