Skip to content

Instantly share code, notes, and snippets.

@alt-karate
Created November 8, 2021 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alt-karate/29f006b537775fcd70f0b5c0bb0dc1f1 to your computer and use it in GitHub Desktop.
Save alt-karate/29f006b537775fcd70f0b5c0bb0dc1f1 to your computer and use it in GitHub Desktop.
<h1 class="subtitle subtitle3">hoge</h1>
.subtitle3 {
color: #a1c630;
font-family: "mincho", serif;
font-size: 18px;
font-weight: bold;
display: inline-block;
min-width: 510px;
position: relative;
background: #f8f6f5;
padding: 5px 7px;
}
.subtitle3:after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 0;
height: 0;
border-style: solid;
border-color: transparent #fff transparent transparent;
border-width: 40px 50px 0px 0px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment