Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

dot in image css

#cont {
        width: 200px;
        height: 200px;
        border: 1px solid #aaa; /*To show the boundaries of the element*/
    }
    #cont:before {
        position: absolute;
        content: '';
        background-color:#FF0000;
        border-radius:50%;
        opacity:0.5;
        width: 20px;
        height: 20px;
        pointer-events: none;
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dot #image #css
ADD COMMENT
Topic
Name
4+1 =