Ich möchte eine Div-Grenze Nachrichten mit unteren transparenten Dreieck, aber links Dreiecksgrenze ist nicht gleich rechts, können Sie mir erklären warum oder lassen Sie mich wissen, andere Weise, es zu kodieren?Dreieck Grenze
Mein Code:
.news {
\t position: relative;
\t margin: 75px auto;
\t width: 200px;
\t border: 1px #079199 solid;
\t padding: 20px;
\t
\t color: #bcbcbc;
\t
\t word-wrap: break-word;
\t
}
.news:after {
\t
\t position: absolute;
\t content: '';
\t border: 25px solid transparent;
\t border-top-color: #FFF;
\t
\t top: 100%;
\t left: 50%;
}
.news:before {
\t
\t position: absolute;
\t content: '';
border-left: 26px solid transparent;
border-right: 26px solid transparent;
border-top: 26px solid;
border-top-color: #079199;
\t
\t top: 100%;
\t left: 50%;
}
<div class="news">
TEST
</div>
Vielleicht bin ich verwirrt, aber wo ist ein _triangle_? – Psi