<!doctype html><html><head><style> #mydiv { width: 400px; height: 500px; background-color: lightblue;}</style></head><body><p>click the "try it" button to set the display property of the div element to "none":</p><button onclick="myFunction()">Try it</button><div id="myDIV">This is my DIV element.</div><p><b>Note:</b> The element will not take up any space when the display property set to "none".</p>
<div class="aritcle_card">
<a class="aritcle_card_img" href="/ai/2327">
<img src="https://img.php.cn/upload/ai_manual/001/246/273/175885682336816.png" alt="影像之匠PixPretty">
</a>
<div class="aritcle_card_info">
<a href="/ai/2327">影像之匠PixPretty</a>
<p>商业级AI人像后期软件,专注于人像精修,色彩调节及批量图片编辑,支持Windows、Mac多平台使用。适用于写真、婚纱、旅拍、外景等批量修图场景。</p>
<div class="">
<img src="/static/images/card_xiazai.png" alt="影像之匠PixPretty">
<span>299</span>
</div>
</div>
<a href="/ai/2327" class="aritcle_card_btn">
<span>查看详情</span>
<img src="/static/images/cardxiayige-3.png" alt="影像之匠PixPretty">
</a>
</div>
<script>function myFunction() { document.getElementById("myDIV").style.display = "none";}</script></body></html>
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号