Skip to content

Instantly share code, notes, and snippets.

Avatar

Fabio Peluso fpeluso

View GitHub Profile
@fpeluso
fpeluso / index.html
Created Jan 6, 2021
Solar System with Pure CSS
View index.html
<section class="clearfix">
<ul class="solarsystem">
<li class="sun"><a href="#sun"><span>Sun</span></a></li>
<li class="mercury"><a href="#mercury"><span>Mercury</span></a></li>
<li class="venus"><a href="#venus"><span>Venus</span></a></li>
<li class="earth"><a href="#earth"><span>Earth<span class="moon"> &amp; Moon</span></span></a></li>
<li class="mars"><a href="#mars"><span>Mars</span></a></li>
<li class="asteroids_meteorids"><span>Asteroids &amp; Meteorids</span></li>
<li class="jupiter"><a href="#jupiter"><span>Jupiter</span></a></li>