No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <style> | ||
#musicPlayerTemplate { | |||
display:inline-block; | |||
color:#444; | |||
border:1px solid #CCC; | |||
background:#DDD; | |||
box-shadow: 0 0 5px -1px rgba(0,0,0,0.2); | |||
cursor:pointer; | |||
vertical-align:middle; | |||
max-width: 100px; | |||
padding: 5px; | |||
text-align: center; | |||
} | |||
#musicPlayerTemplate:active { | |||
color:red; | |||
box-shadow: 0 0 5px -1px rgba(0,0,0,0.6); | |||
} | |||
</style> | |||
<div id="musicPlayerTemplate">Press to allow music</div> | |||
Revision as of 09:51, 6 June 2020
<style>
- musicPlayerTemplate {
display:inline-block; color:#444; border:1px solid #CCC; background:#DDD; box-shadow: 0 0 5px -1px rgba(0,0,0,0.2); cursor:pointer; vertical-align:middle; max-width: 100px; padding: 5px; text-align: center;
}
- musicPlayerTemplate:active {
color:red; box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
} </style>
Press to allow music