摘要: css: body { text-align: center } .grebtn { display: inline-block; padding: 0.5em 1.25em; border: 1px solid; border-radius: 2px; vertical-align: bottom 阅读全文
posted @ 2020-08-10 11:53 孑孓_0209 阅读(255) 评论(0) 推荐(0) 编辑
摘要: body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padd 阅读全文
posted @ 2020-08-10 10:52 孑孓_0209 阅读(70) 评论(0) 推荐(0) 编辑
摘要: addEventListener() 方法用于向指定元素添加事件句柄。 语法:element.addEventListener(event, function, useCapture) event:必须。字符串,指定事件名。 function:必须。指定要事件触发时执行的函数。 useCapture 阅读全文
posted @ 2020-08-10 10:16 孑孓_0209 阅读(94) 评论(0) 推荐(0) 编辑
摘要: -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Chrome/Safari/Opera */ -khtml-user-select: none; /* Konqueror */ -moz-user 阅读全文
posted @ 2020-08-10 10:07 孑孓_0209 阅读(743) 评论(0) 推荐(0) 编辑