Is it possible with pure CSS (without images or sth. like that) to create square-cut corners.
Example:
.elem {
border-radius:50%;
}
The above CSS creates a circle - very useful.
However I am searching for a possibility in CSS to create a diamond. Or just an element with cut-off corners. I thought about the transform property but maybe there is something to only cut of the corners instead of turning the whole element and turning its contents back?
border-radiusjust yet, but check theborder-imageproperty.