Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sblondeau/css-solar-system

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS only solar system

A solar system experiment with CSS only, no JS. Use CSS animations Try it at https://sblondeau.github.io/css-solar-system/

each planet have 6 CSS variables to modify

--image: url('earth.jpg');  // texture of planet
--planet-size: 30px;        // planet size (diameter)
--ellipse-duration: 25s;    // duration of rotation around the sun
--rotation-speed: 5s;       // duration of revolution
--distance: 350px;          // distance from sun
--ellipse-rotation:-30deg;  // inclination of ellipse

About

A CSS experimental 3D solar system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.