1

以下の CSS を使用して、自分の Web サイト、 Yep Websiteの吹き出しを作成しました。

google chrome と safari では問題ないようです。Firefox に表示されず、'-moz-transform' が廃止されましたか? 私はデザインが苦手です。この問題を解決する方法を知りたいです。前もって感謝します。

/*SPEECH BUBBLES*/
    .wiget_bottom_all li h3 {
        position:relative;
        padding:15px;
        margin:1em 0 3em;
        color:#fff;
        background:#00B9B7;
        /* css3 */
        background:-webkit-gradient(linear, 0 0, 0 100%, from(#f04349), to(#c81e2b));
        background:-moz-linear-gradient(#f04349, #c81e2b);
        background:-o-linear-gradient(#f04349, #c81e2b);
        background:linear-gradient(#00B9B7, #00B9B7);
        -webkit-border-radius:10px;
        -moz-border-radius:10px;
        border-radius:10px;
    }


    /* THE TRIANGLE
    ------------------------------------------------------------------------------------------------------------------------------- */

    /* creates the wider right-angled triangle */
    .wiget_bottom_all li h3:before {
        content:"";
        position:absolute;
        bottom:-20px; /* value = - border-top-width - border-bottom-width */
        left:105px; /* controls horizontal position */
        border:0;
        border-right-width:30px; /* vary this value to change the angle of the vertex */
        border-bottom-width:20px; /* vary this value to change the height of the triangle. must be equal to the corresponding value in :after */
        border-style:solid;
        border-color:transparent #00B9B7;
        /* reduce the damage in FF3.0 */
        display:block; 
        width:0;
    }
4

2 に答える 2