K
K
kirchevsky2013-05-11 15:14:04
css
kirchevsky, 2013-05-11 15:14:04

How to draw a shape with an empty cavity inside the "donut" using css

Do not kick with your feet, but it didn’t google like that.

Is it possible to make using only css, let's say a rounded rectangle, and cut out a rectangle of the required size from its center. We can call the resulting result a "window" - well, so that the frame remains, and the hole in the center is present :)

P.S. I hope I explained sanely.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav Onishchenko, 2013-05-11
@STFBEE

If I understand correctly, then here:
jsfiddle.net/pf25f/

P
Petrusha Ukropov, 2013-05-11
@artishok

Bagel: jsfiddle.net/DSGsk/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question