Atom

Pure CSS animated atom with orbiting electrons and pulsing nucleus

Atom

A pure CSS animated atom with three orbiting electrons, a pulsing nucleus, and depth-simulating transparency effects. No images, no SVGs โ€” just CSS.

Basic Atom

The atom requires inner elements for each electron orbit:

Basic Atom

Sizes

Three sizes are available:

Atom Sizes

ClassSize
.art-atom-sm180px
(default)360px
.art-atom-lg480px

Custom Colors

Override CSS custom properties to change the atomโ€™s color:

Custom Atom Colors

CSS Custom Properties

PropertyDefaultDescription
--art-atom-size360pxOverall container size
--art-atom-color#00d8ffPrimary orbit and nucleus color
--art-atom-nucleus-sizesize / 5Nucleus diameter
--art-atom-electron-color#99f8ffElectron dot color
--art-atom-electron-sizesize / 25Electron dot diameter
--art-atom-orbit-sizesize / 2.5Orbit ellipse height
--art-atom-speed1.2sBase orbit speed

HTML Structure

<div class="art-atom">
  <div class="electron"></div>
  <div class="electron-alpha"></div>
  <div class="electron-omega"></div>
</div>

API Reference

ClassDescription
.art-atomBase animated atom
.art-atom-smSmall size (180px)
.art-atom-lgLarge size (480px)