听听代码的声音
代码语言:html
所属分类:多媒体
代码描述:听听代码的声音,每一段代码都有自己独特的声音
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/codemirror.css"> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } body { overflow: hidden; background: -webkit-gradient(linear, left top, left bottom, from(#eee), color-stop(50%, #ccc), to(#eee)); background: linear-gradient(#eee 0%, #ccc 50%, #eee 100%); } canvas { position: absolute; top: 0; left: 0; } #menu { text-align: center; position: absolute; height: 40px; bottom: 0; left: 0; right: 0; margin: auto; } button { position: relative; margin: auto; text-align: center; padding: 5px; padding-left: 25px; border: 0; display: inline-block; background: transparent; border: 1px solid; z-index: 99; } #action { background: #7db081; color: #333; font-size: 1.2em; line-height: 1.2em; } #export { background: #6f9eba; } #action:before, #export:before { content: ''; display: block; position: absolute; top: 0; bottom: 0; left: 7px; margin: auto; width: 0; height: 0; border: 8px solid; border-left: 12px solid #fff; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; } #export:before { border-left: 8px solid transparent; border-top: 10px solid #fff; top: 9px; left: 6px; margin: auto; } #file { position: absolute; bottom: 7em; z-index: 999; background-color: #fff; padding: 0.5em; border-radius: 5px; left: 0; right: 0; margin: auto; display: inline-block; width: 213px; } .callout { position: absolute; top: 0; left: 0; right: 0; width: 200px; margin: auto; font-family: sans-serif; font-size: 60%; text-align: center; background: #fbd044; box-shadow: 0 0 3px 0 #000; padding: 5px 0; border-radius: 0 0 30px 30px; } .CodeMirror { padding: 1em; font-size: 1.2em; line-height: 1.6em;.........完整代码请登录后点击上方下载按钮下载查看
网友评论0