Updates and replies will always be added to the first floor.
三省堂国語辞典
1.1 red tag, red chars + red rectangle border
example:
practice:
<style>
.aaa {
color: red;
border: 0.05rem solid red;
/* font-size: 0.8rem;
padding: 0.1rem;
word-break: keep-all;
border-radius: 0.1rem; */
}
.aab {
color: red;
border: 0.05rem solid red;
font-size: 0.8rem;
padding: 0.1rem;
word-break: keep-all;
border-radius: 0.1rem;
}
</style>
<div>
<span class="aaa">Caution</span>
<span class="aab">Caution</span>
</div>
- obviously, the latter is more pretty.
1.2 Heading number, white char + gray background rectangle
example:
practice:
<style>
.aac {
color: white;
background-color: gray;
font-size: 0.8rem;
padding: 0.1rem;
border-radius: 0.1rem;
font-weight: 900;
width: 1rem;
height: 1rem;
display: inline-flex;
justify-content: center;
align-items: center;
}
</style>
<div>
<span class="aac">1</span> xyz xyz xyz xyz xyz xyz xyz xyz
<span class="aac">2</span> xyz xyz xyz xyz xyz xyz xyz xyz
<span class="aac">3</span> xyz xyz xyz xyz xyz xyz xyz xyz
</div>
1.3 more clearly when crossing lines, line-height
example:
- the latter one added
line-height: 2rem;
practice:
Adjusting this attribute is useful for Chinese characters.
For English characters, the default line-height (approximately 1.2rem, shown in red) is sufficient for readability - unlike the 1rem setting (shown in black) which makes text slightly harder to read.
replies
- Wow, the official app has a much more polished looking.
- My version is incomplete(especially the fonts, which are hard to design).







