标签:chinese nal 居中 head har action 鼠标指针 sans other
Lion dancing with a history of more 2,000 years has been a form of traditional Chinese folk art. During the dancing, the two performers wear the one lion uniform with one controlling the actions of the head and the other controlling the actions of the body and tail. They cooperate skillfully with each other in order to imitate the various and vivid actions of lions. As the monarch of all beasts, lions symbolize blessedness and fortune, therefore, lion dancing is usually performed during the Spring Festival and other festivals. It probably appears in other such important occasions as business opening and wedding ceremonies, attracting many individuals to appreciate.
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8" /> <title>Document</title> <style type="text/css"> * { padding: 0; margin: 0; } .nav { list-style: none; /*去除列表项目符号*/ /*background: pink;*/ /*背景颜色粉色*/ width: 800px; /*宽度800*/ margin: 100px auto 20px; /*居中*/ overflow: hidden; } .nav li { float: left; /*左浮动*/ width: 20%; } .nav a { display: block; /*设置a为块元素*/ width: 100%; text-align: center; /*文字居中*/ padding: 8px; /*内边距*/ text-decoration: none; /*去掉下划线*/ /*font-weight:bold;*/ /*加粗*/ font-size: 20px; /*字体大小*/ border-bottom: 3px solid #aaa; /*设置边框*/ font-family:Segoe script; /*font-family:Verdana, Arial, Helvetica, sans-serif;*/ } .nav a:link { color: palevioletred; } .nav a:visited { color: black; border-bottom: 5px solid brown; } .nav a:hover { background: linear-gradient(to bottom, pink, black); color: white; } .nav a:active { color: red; background: black; } </style> </head> <body> <ul class="nav"> <li> <a href="#">shouye</a> </li> <li> <a href="#">jiaoben</a> </li> <li> <a href="#">wolaile</a> </li> <li> <a href="#">kkp</a> </li> <li> <a href="#">duzi</a> </li> </ul> </body>
<p style="font-family:Segoe script; font-size:10px; width:300px; display:block;margin: auto; text-indent:2em;">Lion dancing with a history of more 2,000 years has been a form of traditional Chinese folk art. During the dancing, the two performers wear the one lion uniform with one controlling the actions of the head and the other controlling the actions of the body and tail. They cooperate skillfully with each other in order to imitate the various and vivid actions of lions. As the monarch of all beasts, lions symbolize blessedness and fortune, therefore, lion dancing is usually performed during the Spring Festival and other festivals. It probably appears in other such important occasions as business opening and wedding ceremonies, attracting many individuals to appreciate.</p>
</html>
标签:chinese nal 居中 head har action 鼠标指针 sans other
原文地址:https://www.cnblogs.com/niuyaomin/p/11623533.html