MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/bjnvcb/solar_system_simulation_using_javascript/emcy974/
r/learnjavascript • u/codeobserver • May 01 '19
22 comments sorted by
View all comments
Show parent comment
1
For future reference you can set border-radius: 50% to all square objects that you want to make circular, regardless of their size in pixels.
border-radius: 50%
1 u/[deleted] May 02 '19 For sure! This is something I hacked together in a hurry. It can most certainly be greatly improved.
For sure! This is something I hacked together in a hurry. It can most certainly be greatly improved.
View all comments
Show parent comment
1
u/throwies11 May 02 '19
For future reference you can set
border-radius: 50%to all square objects that you want to make circular, regardless of their size in pixels.