D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
clemsos
Full window
Github gist
JS Bin // source https://jsbin.com/bedalu/1
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JS Bin</title> <style id="jsbin-css"> div { width : 17px; height: 19px; color : white; font-weight: bold; padding-top : 1px; padding-left : 3px; border-radius: 10px; background-color : red; cursor: pointer; cursor: hand; box-shadow: 3px 3px 8px rgba(0,0,0,.5); } span { pointer-event:none; } div:hover { background:green; } </style> </head> <body> <div><span>✕</span></div> <script id="jsbin-source-css" type="text/css">div { width : 17px; height: 19px; color : white; font-weight: bold; padding-top : 1px; padding-left : 3px; border-radius: 10px; background-color : red; cursor: pointer; cursor: hand; box-shadow: 3px 3px 8px rgba(0,0,0,.5); } span { pointer-event:none; } div:hover { background:green; }</script> </body> </html>