Difference between revisions of "Template:TCU Taiwan/CSS"

Line 35: Line 35:
 
         display: block;
 
         display: block;
 
       }
 
       }
       header,article{
+
       header{
 
         color: white;
 
         color: white;
 
       }
 
       }
       header{
+
      article{
 +
        color: black;
 +
      }
 +
       header,article{
 
         text-align: center;
 
         text-align: center;
 
         width: 100%;
 
         width: 100%;
 
       }
 
       }
 
       header {
 
       header {
         position:absolute;
+
         position:fixed;
         background-color: red;
+
         background-color: black;
         font-size: 36px;
+
         font-size: 20px;
         font-weight: bold;
+
         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

header
article