Template:AshStyle: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(General Ash styles.)
 
No edit summary
Line 1: Line 1:
<style>
.ash-mh { position: relative; }
.ash-mh { position: relative; }


Line 17: Line 16:
     clip-path: inset(1ex 0 0 0);
     clip-path: inset(1ex 0 0 0);
}
}
</style>

Revision as of 17:54, 24 May 2022

.ash-mh { position: relative; }

.ash-mh::before {

   position: absolute;
   width: 100%;
   text-align: center;
   left: 0;
   display: block;
   content: 'ả';
   clip: rect(0 2em 1ex 0);

}

.ash-mh > span {

   clip: rect(1ex, 2em, 3ex, 0);
   display: inline-block;
   clip-path: inset(1ex 0 0 0);

}