谷歌下下雨12号的字体怎么实现

来源:互联网 发布:算法技术手册 编辑:程序博客网 时间:2024/06/07 22:28
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Title</title>    <style>        #chrome10px{ -webkit-text-size-adjust:none; font-size:10px; }        #chrome10px2 {font-size : 12px;            -webkit-transform : scale(0.84,0.84) ;            *font-size:10px;}    </style></head><body><p style="font-size: 8px">我是8px像素的字体大小</p><p style="font-size: 10px">我是10px像素的字体大小</p><p style="font-size: 12px">我是12px像素的字体大小</p><p style="font-size: 14px">我是14px像素的字体大小</p><p style="font-size: 16px">我是16px像素的字体大小</p>修改的方法-webkit-text-size-adjust:none;:<br/><p style="font-size: 10px" id="chrome10px">我是10px像修改了不起作用</p><p style="font-size: 10px">我是10px像素的字体大小</p><p style="font-size: 12px">我是12px像素的字体大小</p><p style="font-size: 14px">我是14px像素的字体大小</p>修改的方法2  -webkit-transform : scale(0.84,0.84) ;:<br/><p style="font-size: 10px" id="chrome10px2">我是10px像修改了不起作用</p><p style="font-size: 10px">我是10px像素的字体大小</p><p style="font-size: 12px">我是12px像素的字体大小</p><p style="font-size: 14px">我是14px像素的字体大小</p></body></html>
0 0
原创粉丝点击