随笔分类 -  CSS3

摘要:一、CSS书写顺序 1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, color- t 阅读全文
posted @ 2018-10-17 17:15 藏玉 阅读(121) 评论(0) 推荐(0)
摘要:在网页中,pixel与point比值称为device-pixel-ratio,普通设备都是1,iPhone 4是2,有些Android机型是1.5。]那么-webkit-min-device-pixel-ratio:2可以用来区分iphone(4/4s/5)和其它的手机iPhone4/4s的分辨率为 阅读全文
posted @ 2018-08-06 16:09 藏玉
摘要:css样式: .anlibox{width: 1170px;position:relative; left:1.5%; top: 15%; margin:0 auto;}.anli1{width:270px;}.anli2{width:278px;}.anli3{width:322px;}.anli 阅读全文
posted @ 2017-08-23 11:11 藏玉 阅读(1111) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"/> <title>CSS Test Page</title> <style type="text/css"> *{ margin: 0; padding: 0; } .c 阅读全文
posted @ 2017-08-23 10:40 藏玉 阅读(1678) 评论(0) 推荐(0)