Created
September 20, 2012 10:20
-
-
Save QB/3755087 to your computer and use it in GitHub Desktop.
CSS3のグラデーションで、さくっとTwitterのヘッダに指定するための背景を作ってみた。ブラウザで実行してキャプチャするだけ。
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="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<style> | |
#twitter{ | |
box-sizing:border-box; | |
width:520px; | |
height:260px; | |
margin:0; | |
padding:0; | |
border:3px outset #ccc; | |
background:-webkit-linear-gradient(45deg,#fff,#bbb,#eee,#bbb,#fff,#bbb,#eee,#bbb); | |
} | |
</style> | |
</head> | |
<body> | |
<div id="twitter"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment