Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html diplay:修复按钮似乎不起作用_Html_Css - Fatal编程技术网

Html diplay:修复按钮似乎不起作用

Html diplay:修复按钮似乎不起作用,html,css,Html,Css,我不知道为什么,但这个按钮就是不会显示:固定我不知道该尝试什么 <div> <button class="drop_buttton">DROPDOWN</button> </div> 没有像display:fixed这样的属性,而是使用position:fixed当遇到问题时,您会希望养成查看此类文档的习惯。非常感谢,现在我觉得自己真的很笨,尤其是在我花了这么多时间试图解决这个问题的时候 .drop_buttton

我不知道为什么,但这个按钮就是不会显示:固定我不知道该尝试什么

   <div>

     <button class="drop_buttton">DROPDOWN</button>  

   </div>

没有像
display:fixed
这样的属性,而是使用
position:fixed

当遇到问题时,您会希望养成查看此类文档的习惯。非常感谢,现在我觉得自己真的很笨,尤其是在我花了这么多时间试图解决这个问题的时候
 .drop_buttton {
  padding: 30px;
  background-color: green;
  border: none;
  display: fixed;
  bottom: 2%;
  left: 2%;
 }