Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
The buttons make sounds
Mech
Keyboard
Discover more
Discover more
Discover more
Discover more
Discover more
Discover more
Typewriter
#1
Subscribe
Subscribe
Subscribe
L
O
G
I
N
Typewriter
#2
Learn more about us today
Try for free
Try for free
C
o
n
t
a
c
t
Mac
Keyboard
Subscribe for free tips
Get started free
l
o
g
i
n
css
body { background: #fff; font-family: "Noto Sans", sans-serif; } * { box-sizing: border-box; } button { border: none; cursor: pointer; position: relative; transition: 0.1s ease; margin: 2rem; font-size: clamp(1.2rem, 1.8vw, 1.8rem); font-family: "Noto Sans SC", sans-serif; outline-color: #ccc; font-weight: 600; } button > span { display: block; text-transform: uppercase; } button.solo:hover { transform: scale(0.99) translateY(1px); } button.solo:active { outline: none; transform: scale(0.97) translateY(3px); } button.mult:hover > span { transform: translateY(2px); } button.mult:active { outline: none; } button.mult:active > span { transform: scale(0.97) translateY(4px); } button.mult:active > span:nth-child(1) { transition-delay: 0.05s; } button.mult:active > span:nth-child(2) { transition-delay: 0.1s; } button.mult:active > span:nth-child(3) { transition-delay: 0.15s; } button.mult:active > span:nth-child(4) { transition-delay: 0.2s; } button.mult:active > span:nth-child(5) { transition-delay: 0.25s; } button.mult:active > span:nth-child(6) { transition-delay: 0.3s; } button.mult:active > span:nth-child(7) { transition-delay: 0.35s; } .mechanical { padding: 0; border-width: 6px 12px 15px; border-style: solid; border-radius: 2px; color: #2d2a2a; box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12); } .mechanical:focus { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.12); } .mechanical span { padding: 0.7rem 1.4rem; background: inherit; border-radius: 1px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); } .mechanical.purple { background: #dacafa; border-color: #efe7ff #d3c2f7 #c1a2ff; outline-color: rebeccapurple; } .mechanical.yellow { background: #ffe87d; border-color: #fff0ae #f9e06c #e7d16b; outline-color: goldenrod; } .mechanical.pink { background: #fbcae1; border-color: #fbddeb #f1b8d2 #e49bbd; outline-color: hotpink; } .mechanical.orange { background: #ffc063; border-color: #ffd391 #f9b34b #e49b41; outline-color: rosybrown; } .mechanical.blue { background: #b0edff; border-color: #cef4ff #9ce7fd #91cee0; outline-color: cadetblue; } .mechanical.green { background: #d2fb80; border-color: #e2ffa8 #c8f56f #aedc53; outline-color: forestgreen; } .typewriter { background: linear-gradient(to bottom, #f1f1f1, #ededed, #ddd); border-radius: 30% 30% 50% 50%; padding: 0 5px 15px 0; margin: 2rem 3rem; box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12); } .typewriter span { background: radial-gradient(ellipse at right, #d4d4d4, white); padding: 20px; border-radius: 45% 30% 60% 60%; border: 1px solid #f3f3f3; box-shadow: 0 2px 5px rgba(255, 255, 255, 0.75); } .typewriter:focus, .typewriter:active { outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.65), 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-wood { background: linear-gradient(to bottom, #fbf0d4, #ffe6ab, #e0c175); border-radius: 30% 30% 50% 50%; padding: 0 5px 15px 0; margin: 2rem 3rem; box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12); } .typewriter-wood span { background: radial-gradient(ellipse at right, #f5d387, #ffe8bf); padding: 20px; border-radius: 45% 30% 60% 60%; box-shadow: 0 2px 5px rgba(255, 246, 221, 0.4); } .typewriter-wood:focus, .typewriter-wood:active { outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.65), 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-wood-3 { padding: 0; background: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 2rem auto; font-size: 1.2rem; } .typewriter-wood-3 > span { background: linear-gradient(to bottom, #fbf0d4, #ffe6ab, #e0c175); border-radius: 30% 30% 50% 50%; padding: 0 5px 8px 0; margin: 0.25rem; display: flex; align-items: center; justify-content: center; height: 45px; width: 50px; outline: none; box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12); } .typewriter-wood-3 > span > span { display: block; width: 100%; background: radial-gradient(ellipse at right, #f5d387, #ffe8bf); padding-bottom: 2px; border-radius: 45% 30% 60% 60%; box-shadow: 0 2px 5px rgba(255, 246, 221, 0.4); font-size: 130%; } .typewriter-wood-3:focus, .typewriter-wood-3:active { outline: none; } .typewriter-wood-3:focus > span, .typewriter-wood-3:active > span { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.65), 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-cherry { background: linear-gradient(to bottom, #cc945b, #965736, #52301a); border-radius: 30% 30% 50% 50%; padding: 0 5px 15px 0; margin: 2rem 3rem; box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12); } .typewriter-cherry span { background: radial-gradient(ellipse at right, #714a21, #ab6b29); padding: 20px; border-radius: 45% 30% 60% 60%; box-shadow: 0 2px 5px rgba(183, 143, 28, 0.5); color: white; } .typewriter-cherry:focus, .typewriter-cherry:active { outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.65), 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-metal { border-radius: 80px; padding: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 20px 25px rgba(0, 0, 0, 0.12); background: linear-gradient(to right, #989797, #f3f3f3 25%, #ffffff 38%, #b1b1b1 87%, rgba(60, 58, 58, 0.5)); font-family: "Noto Sans SC", sans-serif; } .typewriter-metal span { padding: 8px 25px 12px; border-radius: 80px; background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.2) 5%, transparent 45%), radial-gradient(circle at top center, #777 10%, #333 70%, #000); border: 1px solid #999; color: #fff; letter-spacing: 0.25px; } .typewriter-metal:focus { outline: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 2px #444, 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-brown { border-radius: 80px; padding: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 20px 25px rgba(0, 0, 0, 0.12); background: linear-gradient(75deg, #989797, #f3f3f3 25%, #ffffff 38%, #b1b1b1 87%, rgba(60, 58, 58, 0.5)); font-family: "Noto Sans SC", sans-serif; } .typewriter-brown span { padding: 8px 18px 10px; border-radius: 80px; background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.2) 5%, transparent 45%), radial-gradient(circle at top center, #777 10%, #333 70%, #000); border: 1px solid #999; color: #fff; letter-spacing: 0.25px; background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.2) 5%, transparent 45%), radial-gradient(circle at top center, #dfb87c 10%, #d3a96a 70%, #bb976b); border: 1px solid #bda281; color: #fff; text-shadow: 1px 1px #c89b38; } .typewriter-brown:focus { outline: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(0, 0, 0, 0.65), 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-yellow { border-radius: 80px; padding: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 20px 25px rgba(0, 0, 0, 0.12); background: linear-gradient(75deg, #989797, #f3f3f3 25%, #ffffff 38%, #b1b1b1 87%, rgba(60, 58, 58, 0.5)); font-family: "Noto Sans SC", sans-serif; } .typewriter-yellow span { padding: 8px 18px 10px; border-radius: 80px; background: radial-gradient(#fff383, khaki); border: 1px solid #e2d66a; letter-spacing: 0.25px; } .typewriter-yellow:focus { outline: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 2px #222, 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-metal-2 { background: transparent; } .typewriter-metal-2:focus { outline: none; } .typewriter-metal-2:focus > span { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 0 2px #999, 0 10px 15px rgba(0, 0, 0, 0.12); } .typewriter-metal-2 > span { display: inline-block; border-radius: 80px; padding: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 20px 25px rgba(0, 0, 0, 0.12); margin: 0.25rem; background: linear-gradient(75deg, #989797, #f3f3f3 25%, #ffffff 38%, #b1b1b1 87%, rgba(60, 58, 58, 0.5)); } .typewriter-metal-2 > span > span { height: 40px; width: 40px; padding-bottom: 2px; display: flex; align-items: center; justify-content: center; border-radius: 80px; background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.2) 5%, transparent 45%), radial-gradient(circle at top center, #777 10%, #333 70%, #000); border: 1px solid #555; color: #fff; letter-spacing: 0.25px; } @media (min-width: 80rem) { .typewriter-metal-2 > span > span { height: 50px; width: 50px; padding-bottom: 2px; } } .typewriter-wood-2 { background: transparent; } .typewriter-wood-2:focus { outline: none; } .typewriter-wood-2:focus > span { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 0 2px sandybrown; } .typewriter-wood-2 > span { display: inline-block; border-radius: 80px; padding: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); margin: 0.25rem; background: linear-gradient(75deg, #989797, #f3f3f3 25%, #ffffff 38%, #b1b1b1 87%, rgba(60, 58, 58, 0.5)); } .typewriter-wood-2 > span > span { height: 40px; width: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.2) 5%, transparent 45%), radial-gradient(circle at top center, #dfb87c 10%, #d3a96a 70%, #bb976b); border: 1px solid #bda281; color: #fff; text-shadow: 1px 1px #c89b38; } .typewriter-yellow-2 { background: transparent; } .typewriter-yellow-2:focus { outline: none; } .typewriter-yellow-2:focus > span { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 0 2px darkkhaki; } .typewriter-yellow-2 > span { display: inline-block; border-radius: 80px; padding: 4px; margin: 0.25rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); background: linear-gradient(75deg, #989797, #f3f3f3 25%, #ffffff 38%, #b1b1b1 87%, rgba(60, 58, 58, 0.5)); } .typewriter-yellow-2 > span > span { height: 40px; width: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(#fff383, khaki); border: 1px solid #e2d66a; } .mac { border-radius: 4px; padding: 15px 25px; border: 1px solid rgba(150, 150, 150, 0.05); background: #f9f9f9; box-shadow: inset 0 2px 3px #fff, 0 1px 0 #eee, 0 2px 0 #ddd, 0 5px 0 #eee, 0 2px 3px rgba(144, 141, 141, 0.75), 0 20px 25px rgba(0, 0, 0, 0.12); transition: 0.25s ease; } .mac:focus { outline: none; box-shadow: inset 0 2px 3px #fff, 0 1px 0 #eee, 0 2px 0 #ddd, 0 5px 0 #eee, 0 2px 3px rgba(144, 141, 141, 0.75), 0 4px 0 3px #4a1b77, 0 0 0 2px #4a1b77; } .mac:active { box-shadow: inset 0 0 8px #eee, 0 0 2px rgba(0, 0, 0, 0.25); transform: translateY(2px); } .mac-black { border-radius: 4px; padding: 15px 25px; border: 1px solid #454545; background: #333; box-shadow: inset 0 2px 3px #777, 0 1px 0 #333, 0 5px 0 #333, 0 2px 3px rgba(63, 63, 63, 0.75), 0 20px 25px rgba(0, 0, 0, 0.12); transition: 0.25s ease; color: #fff; } .mac-black:focus { outline: none; box-shadow: inset 0 2px 3px #666, 0 1px 0 #333, 0 5px 0 #333, 0 2px 3px rgba(63, 63, 63, 0.75), 0 4px 0 3px khaki, 0 0 0 2px khaki, 0 10px 15px rgba(0, 0, 0, 0.12); } .mac-black:active { box-shadow: inset 0 0 8px #999, 0 0 2px rgba(0, 0, 0, 0.25); background: #111; transform: translateY(2px); } .mac-mult { display: flex; background: transparent; margin: 2rem auto; } .mac-mult > span { margin: 0.35rem; border-radius: 4px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(150, 150, 150, 0.05); background: #f9f9f9; box-shadow: inset 0 2px 3px #fff, 0 1px 0 #eee, 0 2px 0 #ddd, 0 5px 0 #eee, 0 2px 3px rgba(144, 141, 141, 0.75), 0 20px 25px rgba(0, 0, 0, 0.12); transition: 0.25s ease; } .mac-mult:focus { outline: none; } .mac-mult:focus > span { box-shadow: inset 0 2px 3px #fff, 0 1px 0 #eee, 0 2px 0 #ddd, 0 5px 0 #eee, 0 2px 3px rgba(144, 141, 141, 0.75), 0 4px 0 3px #4a1b77, 0 0 0 2px #4a1b77, 0 10px 15px rgba(0, 0, 0, 0.12); } .mac-mult:active > span { box-shadow: inset 0 0 8px #eee, 0 0 2px rgba(0, 0, 0, 0.25); transform: translateY(2px); } section { position: relative; padding: 10% 5%; background: var(--bg); } section .container { max-width: 80rem; position: relative; margin: auto; } @media (min-width: 50rem) { section .container { display: flex; align-items: center; } } section h1 { font-family: "Encode Sans Semi Condensed", sans-serif; font-size: 2.5rem; text-transform: uppercase; text-align: center; width: 100%; margin-bottom: 5%; color: var(--color); line-height: 0.9; word-break: break-word; } section h1 > span { display: block; } section h1 span:nth-child(2) { color: var(--bg); -webkit-text-fill-color: var(--bg); -webkit-text-stroke-width: 2px; -webkit-text-stroke-color: var(--color); } @media (min-width: 50rem) { section h1 { position: absolute; left: 45%; transform: translate(-105%, -55%) rotate(15deg); width: 40%; word-break: break-all; text-align: right; top: 50%; font-size: clamp(2.2rem, 11vw, 16rem); letter-spacing: 1px; } section h1 > span { display: inline; } } @media (min-width: 95rem) { section h1 { width: 45%; } } @media (min-width: 110rem) { section h1 { width: 60%; } } section .buttons { max-width: 60rem; margin: auto; text-align: center; } @media (min-width: 50rem) { section .buttons { margin-left: 35%; padding-left: 4rem; flex: 1; } } .mechs { --bg: #79569a; --color: #d5ff7d; } .types { --bg: #39dcd3; --color: #283061; } .types-metal { --bg: #ffcc5f; --color: #9f0071; } .macs { --bg: #de6363; --color: #ffeeba; } header { padding: 2rem; width: 100%; font-size: 120%; text-align: center; line-height: 1.5; background: #ff8dda; color: #040a23; } header i { margin: 0 1rem; } footer { text-align: center; margin: 4em auto; width: 100%; } footer a { text-decoration: none; display: inline-block; width: 45px; height: 45px; border-radius: 50%; background: transparent; border: 1px dashed #333; color: #333; margin: 5px; } footer a:hover { background: rgba(255, 255, 255, 0.1); } footer a .icons { margin-top: 12px; display: inline-block; font-size: 20px; } .footer { flex-wrap: wrap; padding: 3.5rem 5rem 0; font-size: 130%; text-align: center; min-height: 20vh; display: flex; width: 100%; line-height: 1.7; color: #fff; align-items: center; justify-content: center; background: #040a23; color: #ff8dda; } .footer a { text-decoration: none; color: #ff8dda; padding: 3px 0; border-bottom: 1px dashed; } .footer a:hover { border-bottom: 1px solid; } footer { margin-top: 1.5rem; } footer a { text-decoration: none; display: inline-block; width: 45px; height: 45px; border-radius: 50%; background: transparent; border: 1px dashed #ff8dda; color: #ff8dda; margin: 5px; } footer a:hover { background: rgba(255, 255, 255, 0.1); } footer a .icons { margin-top: 8px; display: inline-block; font-size: 20px; } footer a .icons:before { position: relative; }
JavaScript
var mec = new Audio("https://www.jq22.com/newjs/audio-mech.mp3"); var typeW = new Audio("https://www.jq22.com/newjs/audio-typer.mp3"); var ding = new Audio("https://www.jq22.com/newjs/audio-ding.mp3"); var macB = new Audio("https://www.jq22.com/newjs/audio-mac.mp3"); function playMec() { mec.play(); } function playType() { typeW.play(); } function playDing() { ding.play(); } function playMac() { macB.play(); }
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>嘈杂的按键-jq22.com</title> <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <style>
</style> </head> <body>
<script>
</script>
</body> </html>
2012-2021 jQuery插件库版权所有
jquery插件
|
jq22工具库
|
网页技术
|
广告合作
|
在线反馈
|
版权声明
沪ICP备13043785号-1
浙公网安备 33041102000314号