<style type="text/css"> .spot{ position: relative; display: list-item; margin: 5px; width: 30px; height: 30px; border-radius: 60px; left: 98%; } .spot:hover{ background-color: #0080ff; } .header{ background-color: #262626; margin: 20px auto; width: 95%; height: 160px; border-radius: 20px; font-weight: bold; font-size: 25px; color: #2b669a; text-align: center; } .hd_btn_submit,.hd_input{ position: relative; float: right; top:10%; } .show_img{ position: relative; background-color: #245269; height: 500px; width: 80%; border-radius: 20px; left: 35px; } </style></head><body> <div class="header"> <p>标题</p>
<div class="aritcle_card">
<a class="aritcle_card_img" href="/ai/2062">
<img src="https://img.php.cn/upload/ai_manual/000/000/000/175680147413246.png" alt="稿定在线PS">
</a>
<div class="aritcle_card_info">
<a href="/ai/2062">稿定在线PS</a>
<p>PS软件网页版</p>
<div class="">
<img src="/static/images/card_xiazai.png" alt="稿定在线PS">
<span>99</span>
</div>
</div>
<a href="/ai/2062" class="aritcle_card_btn">
<span>查看详情</span>
<img src="/static/images/cardxiayige-3.png" alt="稿定在线PS">
</a>
</div>
<button class="hd_btn_submit" type="submit">register</button> <label> <input class="hd_input" type="text"> </label> </div> <div class="container_showImg"> <div class="show_img"></div> <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > </div></body>
你是相对定位的
top: -500px;
<style type="text/css"> .spot{ display:list-item; margin: 5px; width: 30px; height: 30px; border-radius: 60px; } .spot:hover{ background-color: #0080ff; } .header{ background-color: #262626; margin: 20px auto; width: 95%; height: 160px; border-radius: 20px; font-weight: bold; font-size: 25px; color: #2b669a; text-align: center; } .hd_btn_submit,.hd_input{ position: relative; float: right; top:10%; } .show_img{ float:left; background-color: #245269; height: 500px; width: 80%; border-radius: 20px; left: 35px; } </style></head><body> <div class="header"> <p>标题</p> <button class="hd_btn_submit" type="submit">register</button> <label> <input class="hd_input" type="text"> </label> </div> <div class="container_showImg"> <div class="show_img"></div> <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > </div> </body>
你是相对定位的
top: -500px;
<style type="text/css"> .spot{ display:list-item; margin: 5px; width: 30px; height: 30px; border-radius: 60px; } .spot:hover{ background-color: #0080ff; } .header{ background-color: #262626; margin: 20px auto; width: 95%; height: 160px; border-radius: 20px; font-weight: bold; font-size: 25px; color: #2b669a; text-align: center; } .hd_btn_submit,.hd_input{ position: relative; float: right; top:10%; } .show_img{ float:left; background-color: #245269; height: 500px; width: 80%; border-radius: 20px; left: 35px; } </style></head><body> <div class="header"> <p>标题</p> <button class="hd_btn_submit" type="submit">register</button> <label> <input class="hd_input" type="text"> </label> </div> <div class="container_showImg"> <div class="show_img"></div> <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > <img class="spot" src="img/spot.png" alt="css效果:怎么把spot的元素放置在网页的右边空白区域_html/css_WEB-ITnose" > </div> </body>
你是相对定位的
top: -500px;
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号