BRYTHON 用python替代js脚本编写一个计算器效果代码
代码语言:html
所属分类:其他
代码描述:BRYTHON 用python替代js脚本编写一个计算器效果代码
代码标签: BRYTHON python 替代 js 脚本 编写 计算器
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @import url('https://fonts.googleapis.com/css?family=Monoton'); * { font-family: canada-type-gibson, sans-serif; font-weight: normal; font-size: 1.1em; } table { background: #fff; color: rgb(44, 44, 44); } td { background-color: #fff; padding: 10px 30px 10px 30px; border-radius: 0.2em; text-align: center; box-shadow: -8px -4px 8px 0px #ffffff, 8px 4px 12px 0px #d1d9e6, 4px 4px 4px 0px #d1d9e6 inset, -4px -4px 4px 0px #ffffff inset; } td:hover { cursor: pointer; background-image: linear-gradient(to right, #ffffff, rgb(243, 243, 243), rgb(255, 251, 251)); background-position: right; transition: 5s; opacity: 0.4; } ul { display: block; justify-content: flex-end ; position: relative; } h1 { text-align: start; text-transform: uppercase; padding: 1em 0 2em; margin: 0; font-family: 'Monoton', cursive; } #result { box-shadow: -8px -4px 8px 0px #ffffff, 8px 4px 12px 0px #d1d9e6, 4px 4px 4px 0px #d1d9e6 inset, -4px -4px 4px 0px #ffffff inset; border-width: 1px; padding: 10px 30px 10px 30px; text-align: right; border-radius: 2px; } </style> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/brython.min.js&q.........完整代码请登录后点击上方下载按钮下载查看
网友评论0