Programing (프로그래밍)/WPF & C# (C Sharp)
WPF - 햄버거 버튼 유니코드 엔터티 ( WPF / HTML)
insurang
2024. 8. 1. 13:33
728x90
반응형
햄버거 버튼 유니코드 엔터티 ( WPF / HTML)
16진수 유니코드 코드: 2630
HTML 엔터티: ☰
CSS 콘텐츠: "\2630"
[ WPF ]
<Button Width="100" Height="50" HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock FontSize="24" Text="☰" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Button>
[HTML]
<button style="
font-size: 24px;
background-color: #333;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
" onmouseover="this.style.backgroundColor='#555';" onmouseout="this.style.backgroundColor='#333';">
☰ Menu
</button>
728x90
반응형