Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.svm-example {
position: relative;
height: 60px;
width: 340px;
margin: 1.5em auto;
line-height: 60px;
.svm-example div {
position: absolute;
top: 10px;
height: 40px;
width: 40px;
border-radius: 32px;
line-height: 40px;
font-family: Arial;
color: #FFF;
text-align: center;
.svm-example .decision-boundary {
top: 0px;
height: 60px;
width: 2px;
background-color: #C4C4C4;
border-radius: 0;
.svm-example .blue { background-color: #48B; }
.svm-example .red { background-color: #D44; }
.svm-example .a { left: 0px; }
.svm-example .b { left: 70px; }
.svm-example .c { left: 140px; }
.svm-example .z { left: 200px; }
.svm-example .y { left: 300px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment