我有一个反馈面板,但问题是当您单击它时,导航会覆盖反馈面板的某些内容。
正如您在上图中所见,电子邮件输入字段被阻止。
问题
我想要做的是,当用户单击反馈时,<nav>
将浮动到左侧,以便用户可以输入他们想要的内容,然后feedback
再次单击并nav
返回到center
.
导航栏 css
nav{
text-align:center;
}
html
<div class="panel">
<h3>Sliding Panel</h3>
<p>Here's our sliding panel/drawer made using jQuery with the toggle function and some CSS3 for the rounded corners</p>
<p>This panel is placed on the right instead of on the left. This could be particularly useful if, <a href="http://spyrestudios.com" title="SpyreStudios">like me</a>, you have a left-aligned website layout.</p>
<div style="clear:both;"></div>