摘要: <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> <style> .danmu-214954 { position: absolute; left: 50%; margin-left: 335px; t 阅读全文
posted @ 2017-01-08 10:25 CC大神01 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 通过css属性实现如图所示按钮 要点:通过checkbox选中与否的状态与兄弟选择器实现相关功能 1.设置开关大小并设置定位方式为relative 2.设置checkbox属性,并设置为不可见状态 .swift-btn input[type='checkbox'] { position: absol 阅读全文
posted @ 2017-01-08 10:24 CC大神01 阅读(260) 评论(0) 推荐(0) 编辑