About creating a 3d sphere | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

About creating a 3d sphere

can anyone explain me to create a sphere please...it should rotate plse

3rd Jun 2018, 4:11 PM
Sai Dinesh
Sai Dinesh - avatar
1 Answer
+ 4
try this I have used this method many times <div class="sp"></div> <style> .sp{ display: block; background: black; border-radius: 50%; height: 300px; width: 300px; margin: 0; background: radial-gradient(circle at 100px 100px, #006400, #000); } </style>
3rd Jun 2018, 4:20 PM
Sudarshan Rai
Sudarshan Rai - avatar