这是之前悬停如何保持父母被翻动时的文字?
我想保持文字水平这样[菜单]悬停旋转李后。如何处理简单的解决方案。我看到一些例子,但没有理解它。 jQuery也可以。请帮助,谢谢。
section#fourth{
\t margin:auto;
\t width: 550px;
}
section#fourth li {
\t padding: 8px 10px;
\t transition: all .5s;
\t background: brown;
\t display: block;
\t width: 30px;
\t margin-bottom: 3px;
}
section#fourth li a{
color: #fff;
font-weight: bold;
}
section#fourth li:hover{
\t border-bottom: 5px solid #000;
\t transform: rotate(90deg);
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> \t
<section id="fourth">
\t <h2>Example</h2>
\t <nav>
\t \t <ul class="list-inline">
\t \t \t <li><a href="#">M<br>e<br>n<br>u<br></a></li>
\t \t \t <li><a href="#">M<br>e<br>n<br>u<br></a></li>
\t \t \t <li><a href="#">M<br>e<br>n<br>u<br></a></li>
\t \t \t <li><a href="#">M<br>e<br>n<br>u<br></a></li>
\t \t \t <li><a href="#">M<br>e<br>n<br>u<br></a></li>
\t \t </ul>
\t </nav>
</section>
标签?你应该关闭它们。 –
对不起..对于那个 –