2020年5月24日

重写简易的confirm函数

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="http://code.jquery.com/jquery-3.5.1.min.js"></script> <title>Title</title> 阅读全文
posted @ 2020-05-24 17:56 Windy心梦无痕 阅读(391) 评论(0) 推荐(0) 编辑

CSS绝对定位元素居中的几种方法

摘要: CSS居中绝对定位元素的方法,有很多种,下面是a56爆大奖在线娱乐收集的几种 1,div宽度未知1 <body> <div style="position: absolute; left: 50%;"> <div style="position: relative; left: -50%; border: dotte 阅读全文
posted @ 2020-05-24 16:17 Windy心梦无痕 阅读(780) 评论(0) 推荐(0) 编辑