开发者

Fixed position CSS for a button to provide website feedback

I want to create a fixed position button that will run on my site, either on the left hand side or as a popout panel (see http://uservoice.com/fullservice for a cool popout button at the bottom of the screen). Clicking on the button will launch a popup window that my company uses for contact and feedback information.

Is there a basic example CSS for these types开发者_高级运维 of buttons? I am a JS guy and created the popup window with no problems, but I don't have the CSS skills to get the button to activate my window.


the css would be:

.button {
    position: fixed;
    bottom: 0;
    right: 0; //or left: 0; depending on where you want it to be.
}

with html being:

<div class='button'> button text here </div>


Try something like this:

#feedback-button {
  position: fixed;
  bottom: 0px;
  right: 0px;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜