好的,你看到我能够在Twitter Bootstrap中成功创建一个下拉登录表单.在Bootstrap中它更简单,但是这个框架不那么容易.这就是我想要实现的目标:https://lh4.googleusercontent.com/-A1GH5oiWNEI/UTg6JoR9kDI/AAAAAAAAAAM/g4BJNVkvLJ4/s1600/Drop-Down-Form-F3.png.这是我目前的代码:(我剪了一些零件)
<nav class="top-bar">
<ul class="title-area">
<!-- Title Area -->
<li class="name">
<h1><a href="#">ChatAar</a></h1>
</li>
<!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<a href="#" class="alert button" data-dropdown="hover1" data-options="is_hover:false">Login</a>
<ul id="hover1" class="f-dropdown" data-dropdown-content>
<!-- Login form here -->
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" >
<div class="red"><?php echo $Login; ?></div> …Run Code Online (Sandbox Code Playgroud)