Alternate color dot over the letter i

前端 未结 3 1490
野性不改
野性不改 2020-12-11 08:40

I\'ve been challenged with this rather silly idea.

So can I replace all \"i\" occurrences with Blabla[span class=superI]i[/span]rest : )

My i

3条回答
  •  悲哀的现实
    2020-12-11 09:13

    Another solution http://jsbin.com/urOtixog/1/edit

    This font-size can be changed.

    @Fiskolin It is possible ... and quite easy.

    this

    CSS

    p {
      font-size: 165px;
    }
    .i {  
      color: red;
      position: relative;
    }
    .i:before {
      content: "ı";
      position: absolute; 
      color: black;
    }
    

提交回复
热议问题