Skip to content

Instantly share code, notes, and snippets.

@naturallucky
Last active April 25, 2019 10:19
Show Gist options
  • Save naturallucky/d058a89dbc0d3350b8aeebc4a44a1db6 to your computer and use it in GitHub Desktop.
Save naturallucky/d058a89dbc0d3350b8aeebc4a44a1db6 to your computer and use it in GitHub Desktop.
<style>
.arrow_mp_l{
border-bottom:2pt solid black;
width:60pt;height:0pt;
}
.arrow_mp_l::after{
content:"";
right: -1pt;
bottom: -1pt;
border-right:10pt solid transparent;
border-bottom:10pt solid black;
position: absolute;
}
</style>
<div style="position:relative;width:300pt;height:170pt;">
<div class="arrow_mp_l" style="position:absolute; left:80pt;top:70pt; width:60pt;height:0pt;"></div>
</div>
@naturallucky
Copy link
Author

naturallucky commented Apr 25, 2019

図形point:(shape)
下線+ 右三角

あえて右と下だけ設定するのがポイント
border-right:10pt solid transparent;
border-bottom:10pt solid black;

太さ調整(bold)
border-bottom:2pt solid black;

right: -1pt;
bottom: -1pt;
border-right:10pt solid transparent;
border-bottom:10pt solid black;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment