A
A
AnD2018-11-13 09:40:30
iOS
AnD, 2018-11-13 09:40:30

How to create circles on the background like in the image?

What is the best way to create rings in the background?
Add an ImageView with these circles or through code (if through code, can you please provide an example code)?

spoiler
5bea71a8ca718642460066.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
briahas, 2018-11-25
@AnDVa

Make an imageview in the background and put this image in it.

A
azaza, 2018-11-13
@natojezlo

e.g. So

body{background:градиент; position:relative;}
body:before{content:""; position:absolute; left:-50%; top:-50%; border:20px solid rgba(255,255,255,0.2); width:600px; height:600px; border-radius:600px;}
body:after{content:""; position:absolute; right:-50%; bottom:40px; border:20px solid rgba(255,255,255,0.2); width:600px; height:600px; border-radius:600px;}

in general, play around with positioning, transparency and size

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question