Chcę utworzyć pusty pusty trójkąt z CSS
, ale nie mam tego pusty. Mogę utworzyć trójkąt z CSS
, ale mam jeden problem i to jest: Nie mogę wydrążyć tego trójkąta.jak utworzyć pusty trójkąt w css
To jest mój kod:
HTML:
<div id="tringle"></div>
CSS:
#tringle {
position: absolute;
height: 0;
width: 0;
top: 50%;
left: 7px;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid white;
}
przyjacielu wyglądać ten artykuł może pomóc ... [ create-triangle-with-css] [1] [1]: http://stackoverflow.com/questions/16231184/create-triangle-withcscs – kasiri182