Hide border style on button click
<p>I am working on something and I want to hide my <code>border-style</code> and my <code>border-color</code> when I press a button, is that possible? I have it 9 times, so 9 lines. I want to hide them when I click on the button and when I click again it shows them again.</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>html,
body {
  /* The universe takes up all available space */
  width: 100%;
  height: 100%;
  /* The universe is black */
  background-color: black;
  overflow: hidden;
}
#sun {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 150px;
  width: 150px;
  margin-top: -40px;
  margin-left: -40px;
  border-color: orange;
  border-width: 8px;
  border-style: solid;
  border-radius: 50%;
  box-shadow: 0 0 64px red;
}
#earth {
  position: absolute;
  top: 0;
  left: 50%;
  height: 50px;
  width: 50px;
  margin-left: -25px;
  margin-top: -25px;
}
#mercurius {
  position: absolute;
  top: 0;
  left: 50%;
  height: 30px;
  width: 30px;
  margin-left: -25px;
  margin-top: -25px;
}
#venus {
  position: absolute;
  top: 0;
  left: 50%;
  height: 50px;
  width: 50px;
  margin-left: -25px;
  margin-top: -25px;
}
#mars {
  position: absolute;
  top: 0;
  left: 50%;
  height: 40px;
  width: 40px;
  margin-left: -25px;
  margin-top: -25px;
}
#jupiter {
  position: absolute;
  top: 0;
  left: 50%;
  height: 70px;
  width: 70px;
  margin-left: -25px;
  margin-top: -25px;
}
#saturnus {
  position: absolute;
  top: 0;
  left: 50%;
  height: 60px;
  width: 60px;
  margin-left: -25px;
  margin-top: -25px;
}
#uranus {
  position: absolute;
  top: 0;
  left: 50%;
  height: 60px;
  width: 60px;
  margin-left: -25px;
  margin-top: -25px;
}
#neptunes {
  position: absolute;
  top: 0;
  left: 50%;
  height: 50px;
  width: 50px;
  margin-left: -25px;
  margin-top: -25px;
}
#pluto {
  position: absolute;
  top: 0;
  left: 50%;
  height: 30px;
  width: 30px;
  margin-left: -25px;
  margin-top: -25px;
}
#mercurius-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  margin-top: -85px;
  margin-left: -85px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 9s linear infinite;
  -moz-animation: spin-right 9s linear infinite;
  -ms-animation: spin-right 9s linear infinite;
  -o-animation: spin-right 9s linear infinite;
  animation: spin-right 9s linear infinite;
}
#venus-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  margin-top: -135px;
  margin-left: -135px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 10s linear infinite;
  -moz-animation: spin-right 10s linear infinite;
  -ms-animation: spin-right 10s linear infinite;
  -o-animation: spin-right 10s linear infinite;
  animation: spin-right 10s linear infinite;
}
#earth-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 450px;
  height: 450px;
  margin-top: -185px;
  margin-left: -185px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 11s linear infinite;
  -moz-animation: spin-right 11s linear infinite;
  -ms-animation: spin-right 11s linear infinite;
  -o-animation: spin-right 11s linear infinite;
  animation: spin-right 11s linear infinite;
}
#mars-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 550px;
  height: 550px;
  margin-top: -235px;
  margin-left: -235px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 12s linear infinite;
  -moz-animation: spin-right 12s linear infinite;
  -ms-animation: spin-right 12s linear infinite;
  -o-animation: spin-right 12s linear infinite;
  animation: spin-right 12s linear infinite;
}
#jupiter-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 650px;
  height: 650px;
  margin-top: -285px;
  margin-left: -285px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 13s linear infinite;
  -moz-animation: spin-right 13s linear infinite;
  -ms-animation: spin-right 13s linear infinite;
  -o-animation: spin-right 13s linear infinite;
  animation: spin-right 13s linear infinite;
}
#saturnus-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 750px;
  height: 750px;
  margin-top: -335px;
  margin-left: -335px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 14s linear infinite;
  -moz-animation: spin-right 14s linear infinite;
  -ms-animation: spin-right 14s linear infinite;
  -o-animation: spin-right 14s linear infinite;
  animation: spin-right 14s linear infinite;
}
#uranus-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 850px;
  height: 850px;
  margin-top: -385px;
  margin-left: -385px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 15s linear infinite;
  -moz-animation: spin-right 15s linear infinite;
  -ms-animation: spin-right 15s linear infinite;
  -o-animation: spin-right 15s linear infinite;
  animation: spin-right 15s linear infinite;
}
#neptunes-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 950px;
  height: 950px;
  margin-top: -435px;
  margin-left: -435px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 16s linear infinite;
  -moz-animation: spin-right 16s linear infinite;
  -ms-animation: spin-right 16s linear infinite;
  -o-animation: spin-right 16s linear infinite;
  animation: spin-right 16s linear infinite;
}
#pluto-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1050px;
  height: 1050px;
  margin-top: -485px;
  margin-left: -485px;
  border-width: 2px;
  border-style: dotted;
  border-color: white;
  border-radius: 50%;
  -webkit-animation: spin-right 17s linear infinite;
  -moz-animation: spin-right 17s linear infinite;
  -ms-animation: spin-right 17s linear infinite;
  -o-animation: spin-right 17s linear infinite;
  animation: spin-right 17s linear infinite;
}
@-webkit-keyframes spin-right {
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin-right {
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'&gt;
&lt;h2 style="color: white; font-family: 'Roboto', sans-serif; margin-left: 50px; margin-top: 50px;"&gt;Zoom out for a better view&lt;/h2&gt;
&lt;!-- Right below is an image of the sun --&gt;
&lt;img id="sun" src="http://i.imgur.com/v1KUj9f.png"&gt;

&lt;!-- Insert the 'earth' on the next line --&gt;
&lt;div id='earth-orbit'&gt;
  &lt;img id="earth" src="http://i.imgur.com/ThNW8nI.png"&gt;
&lt;/div&gt;

&lt;div id='mercurius-orbit'&gt;
  &lt;img id="mercurius" src="http://i.imgur.com/AHsmibX.png"&gt;
&lt;/div&gt;

&lt;div id='venus-orbit'&gt;
  &lt;img id="venus" src="http://i.imgur.com/1Jgxg26.png"&gt;
&lt;/div&gt;

&lt;div id='mars-orbit'&gt;
  &lt;img id="mars" src="http://i.imgur.com/PdoX4P0.png"&gt;
&lt;/div&gt;

&lt;div id='jupiter-orbit'&gt;
  &lt;img id="jupiter" src="http://i.imgur.com/qF8mGmG.png"&gt;
&lt;/div&gt;

&lt;div id='saturnus-orbit'&gt;
  &lt;img id="saturnus" src="http://i.imgur.com/CsEIxeq.png"&gt;
&lt;/div&gt;

&lt;div id='uranus-orbit'&gt;
  &lt;img id="uranus" src="http://i.imgur.com/aIbM21j.png"&gt;
&lt;/div&gt;

&lt;div id='neptunes-orbit'&gt;
  &lt;img id="neptunes" src="http://i.imgur.com/joA0iCp.png"&gt;
&lt;/div&gt;

&lt;div id='pluto-orbit'&gt;
  &lt;img id="pluto" src="http://i.imgur.com/qQvhUuF.png"&gt;
&lt;/div&gt;

&lt;button&gt;Click&lt;/button&gt;</code></pre>
</div>
</div>
</p>