©
This document uses PHP Chinese website manual Release
IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|
6.0-8.0 | 2.0+ | 4.0-26.0 | 3.1-6.1 | 15.0+ | 3.2-7.0 | 2.1-4.4.4 | 18.0-26.0 |
9.0+ | 27.0+ | 7.0+ | 7.1+ | 27.0+ |
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="utf-8" /> <title>ch_CSS参考手册_web前端开发参考手册系列</title> <meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" /> <style> h1 { margin: 10px 0; font-size: 16px; } div { overflow: hidden; width: 10ch; background: #ccc; } </style> </head> <body> <h1>定义一个宽度正好能装下10个0的容器:</h1> <div>0000000000</div> </body> </html>
点击 "运行实例" 按钮查看在线实例