That's the nasty red dot,
Description
1, mainly used to position positioning;
2, use Border-radius to draw round corner;
Source:
<!DOCTYPE HTML><HTML><Head> <MetaCharSet= "GBK" /> <title>Test</title> <style>. Info{background:Rgba (45,171,219,.9);position:relative;/*Set child element relative positioning*/Color: White;text-align:Center;width:40px;Height:40px;-webkit-border-radius:50%;-moz-border-radius:50%;Border-radius:50%;Display:Inline-block; }. Info:hover{cursor:Pointer;background:Rgba (45,171,219,.6); }. Info-tip{background:Rgba (250,60,0,1);position:Absolute;/*absolute positioning based on parent element*/width:10px;Height:10px;Top:0;/*at the top of the parent element's interior*/ Right:0;/*to the right of the inside of the parent element*/-webkit-border-radius:50%;-moz-border-radius:50%;Border-radius:50%; } </style></Head><Body> <Divclass= "Info"> <spanclass= "Info-tip"></span> </Div> <Divclass= "Info"> <spanclass= "Info-tip"></span> </Div> <Divclass= "Info"> <spanclass= "Info-tip"></span> </Div></Body></HTML>
The annoying red dots in the upper right corner of the CSS Avatar