article:
Enyo JavaScript Application Framework
article:
Plugin: CoverScroll

Arrow configuration

Advertisement

CSS Arrow Please focuses on another niche; yes, totally CSS-based (no images) arrows.

This CSS trick is great for using in tooltips .

Example:

.arrow_box {
    position: relative;
    background: #88b7d5;
    border: 4px solid #c2e1f5;
}
.arrow_box:after, .arrow_box:before {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-right-color: #88b7d5;
    border-width: 30px;
    top: 50%;
    margin-top: -30px;
}
.arrow_box:before {
    border-right-color: #c2e1f5;
    border-width: 36px;
    top: 50%;
    margin-top: -36px;
}


source

Advertisement
Tags: css, design, web, html

Leave a Comment

No Comment

© Creative3x Ltd.