M
M
Mazino2018-05-28 16:35:22
css
Mazino, 2018-05-28 16:35:22

How to cut a transparent circle in a block and place a round block in it?

The gist of the question has been conveyed. Here is a sample , you need the black stroke of the circle to be transparent and moreover cut off the fill of the block #navigation, thus "isolating" the circle from the rest of the block. How to implement it correctly? There was an idea to add ::before/::after c with border-radiusthe desired color, but it seems to me that this is not the best option.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
forspamonly2, 2018-05-29
@Mazino

radial-gradient
https://jsfiddle.net/yw64rg6j/4/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question