My imagination are strong enough for me to hold on.
Hello 2017

#Tutorial: Hidden MusicPlayer
Friday 20 May 2016 @ 23:32


hover后的效果✒︎



大家好啊
上次小编教大家做隐藏版的chatbox
这次教大家做隐藏版的mp3 player
这款是隐藏在右上角哦
大家能发挥自己的创意任意放在哪里都可以哦
开始吧~~~~


步骤
1.开你的模板
2.Ctrl+F(Command+F用Mac的)找</head>
3.在</head>之前放
#mp3 {
text-align: center;font-size: 11px;position:fixed;left:1000px;top:-43px;-webkit-transition: all .5s ease-in-out;-moz-transition: all .5s ease-in-out;-o-transition: all .5s ease-in-out;z-index:999;}
#mp3 :hover {
top:-10px;}
#music {
padding: 15px 0 5px 0;background: #ffffff;width:100px;border-bottom-right-radius: 5px;-moz-border-radius-bottomright: 5px;-webkit-border-bottom-right-radius: 5px;z-index: 9999;}
#musictab {
font-family:century gothic;text-shadow: 0 1px 0 #ffffff height:30px;padding: 0 0 8px 0;background:#ffffff;border-bottom-left-radius: 5px;-moz-border-radius-bottomleft: 5px;-webkit-border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;-moz-border-radius-bottomright: 5px;-webkit-border-bottom-right-radius: 5px;width: 50px;}
#ffffff可以换背景颜色哦
4.Ctrl+F(Command+F用Mac的)找</body>
5.在</body>之前放
<div id="mp3"> <div id="music"> <center> MP3 Player Code</center> </div> <div id="musictab"> <br><img src="IMG URL"></div> </div>

MP3 Player Code=放你的mp3在那里
IMG URL=随意放什么可爱的贴图都可以哦
6.Save,成功的话就恭喜啦 ^-^





Labels: