Test 三角形: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<html>
<!-- 直接放在 MediaWiki 页面(若允许 raw HTML) -->
<!doctype html>
<div style="width:0;height:0;
<meta charset="utf-8">
            border-left:150px solid transparent;
<!-- 等边三角形:边长用 100 单位,高度 = 100 * sqrt(3)/2 ≈ 86.60254 -->
            border-right:150px solid transparent;
<svg viewBox="0 0 100 86.60254037844386"
            border-bottom:161px solid #333;">
    style="display:block; width:200px; height:auto;"
</div>
    xmlns="http://www.w3.org/2000/svg"
    role="img" aria-label="等边三角形">
  <polygon points="50,0 100,86.60254037844386 0,86.60254037844386"
          fill="#3498db"/>
</svg>
</html>

Revision as of 15:27, 23 September 2025