按钮未显示在移动设备上

时间:2019-08-25 18:42:29

标签: html css responsive-design

我有一个只有登录后才能访问的按钮。在桌面上,该按钮显示正常,但是在手机(手机)上,该按钮不显示。

我没有媒体查询它或任何东西,只是没有显示所有其他按钮。

<nav id="navBar">
        <?php if(!isset($_GET['id'])){
            if(isset($_SESSION['Id'])){
        echo '
            <ul class = "editpage">

                <button id="button" type="button" class= "editpage">Edit Page</button>
            </ul>';}
        }
            else{
                echo '<ul> </ul>';}?>
    </nav>

//按钮的CSS

.editpage{
            float:right;
            border-radius:25px;
            background-color: #e6fdfe;
        }

我希望该按钮将显示在移动设备上,但实际结果是该按钮未显示在移动设备上。

0 个答案:

没有答案