Difference between revisions of "Template:TCU Taiwan/CSS"
Phoebe chen (Talk | contribs) |
Phoebe chen (Talk | contribs) |
||
Line 35: | Line 35: | ||
display: block; | display: block; | ||
} | } | ||
− | header | + | header{ |
color: white; | color: white; | ||
} | } | ||
− | header{ | + | article{ |
+ | color: black; | ||
+ | } | ||
+ | header,article{ | ||
text-align: center; | text-align: center; | ||
width: 100%; | width: 100%; | ||
} | } | ||
header { | header { | ||
− | position: | + | position:fixed; |
− | background-color: | + | background-color: black; |
− | font-size: | + | font-size: 20px; |
− | font-weight: | + | font-weight: normal; |
+ | } | ||
+ | article{ | ||
+ | width: 100%; | ||
+ | margin: 100px; | ||
+ | background-color: white; | ||
+ | font-size: 100px; | ||
+ | font-weight: normal; | ||
} | } | ||
</style> | </style> | ||
+ | <header> | ||
+ | header | ||
+ | </header> | ||
+ | |||
+ | <article> | ||
+ | article | ||
+ | </article> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 08:04, 31 May 2015