How to change the style of the title attribute inside an anchor tag?

前端 未结 10 1315
故里飘歌
故里飘歌 2020-11-21 22:27

Example:

 Link 

How do I change the presentation of the \"title\" attribute in th

10条回答
  •  北荒
    北荒 (楼主)
    2020-11-21 23:05

    A jsfiddle for custom tooltip pattern is Here

    It is based on CSS Positioning and pseduo class selectors

    Check MDN docs for cross-browser support of pseudo classes

        
    

    I am a (This website rocks)   a developer.

    /*CSS*/ a.tooltip { position: relative; } a.tooltip span { display: none; } a.tooltip:hover span, a.tooltip:focus span { display:block; position:absolute; top:1em; left:1.5em; padding: 0.2em 0.6em; border:1px solid #996633; background-color:#FFFF66; color:#000; }

提交回复
热议问题