Online – Offline Status With CSS

The basic below CSS Styles shows the online/offline status

.online, offline{

height : 8px;

width :8px;

border-radius : 50%;

position : absolute;

background-color : green;

}

.offline{

background-color : red;

}

<span class=”online”> Online</span>

<span class=”offline”> Offline</span>

Leave a Comment