Difference between revisions of "Template:CCU Taiwan/css"

Line 2,293: Line 2,293:
 
   display: inline-block;
 
   display: inline-block;
 
}
 
}
 +
 +
.hero {
 +
    position:relative;
 +
    background-color:#659EC7;
 +
    height:100px !important;
 +
    width:100% !important;
 +
}
 +
.hero:after {
 +
    z-index: -1;
 +
    position: absolute;
 +
    top: 100%;
 +
    left: 50%;
 +
    margin-left: -25px;
 +
    content:'';
 +
    width: 0;
 +
    height: 0;
 +
    border-top: solid 25px #659EC7;
 +
    border-left: solid 25px transparent;
 +
    border-right: solid 25px transparent;
 +
}
 +
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 02:52, 18 October 2018