A "multiplayer" HTML5 <canvas> to which people can connect and make changes over time.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
567 B

@keyframes active-button {
0% { border: solid 2px #008000; }
50% { border: solid 2px #00ff00; }
100% { border: solid 2px #008000; }
}
.color-palette {
display: flex;
flex-wrap: wrap;
width: 100%;
justify-content: center;
button.color-select-btn {
display: inline-block;
box-sizing: border-box;
width: 32px;
height: 32px;
margin: 4px;
border: solid 2px transparent;
outline: none;
&.active {
animation-name: active-button;
animation-duration: 1s;
animation-iteration-count: infinite;
}
}
}