- 博客(2)
- 收藏
- 关注
翻译 关于元素浮动后垂直居中和水平居中的方法
// 这些方法也是在网上看网友的经验,以后可能用的着 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>子元素在父元素里面垂直居中</title> <link rel="stylesheet" type="text/css" href=""/> <style> #d1{ border:thin solid red; wi.
2021-10-09 18:06:10
1843
翻译 阻止右键单击事件oncontextmenu
<html οncοntextmenu="doNothing()"> <head> <title>屏蔽鼠标右键</title> <script type="text/javascript"> function doNothing(){ window.event.returnValue=false; return false; } </script> </head> <b...
2021-10-09 17:54:37
304
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅