Last active
December 19, 2015 21:08
-
-
Save yucao24hours/6017839 to your computer and use it in GitHub Desktop.
cssの練習
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
body { | |
background-image:url("curry.jpg") | |
background-repeat: no-repeat; | |
background-attatchment: fixed; | |
} | |
h1 { | |
color :blue; | |
} | |
p { | |
font-size: 14px; | |
} | |
#box { | |
background-color: red; | |
border: black 5px solid; | |
} |
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"> | |
<title>samplepage</title> | |
</head> | |
<body> | |
<h1>Sample file</h1> | |
<p>Hello!</p> | |
<div id="box"> | |
This is a sample file. | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment