Created
November 1, 2012 15:54
-
-
Save 383366063/3994514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>clip_CSS参考手册_web前端开发参考手册系列</title> | |
<meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com" /> | |
<meta name="copyright" content="www.doyoe.com" /> | |
<style> | |
.test{position:absolute;height:50px;line-height:50px;clip:rect(0 auto 35px 10px);background:#eee;} | |
</style> | |
</head> | |
<body> | |
<div class="test">看看被剪切后的效果</div> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment