Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devwiki:css [2021/09/15 07:57] – [CSS language structure] ying | devwiki:css [2023/06/22 08:23] (current) – [flex layout for elements] ying | ||
---|---|---|---|
Line 132: | Line 132: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | ===== flex layout for elements ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
===== Page Layout ===== | ===== Page Layout ===== | ||
Line 234: | Line 244: | ||
TD{font-family: | TD{font-family: | ||
+ | </ | ||
+ | |||
+ | ===== text background color bar strike through ===== | ||
+ | |||
+ | * gradient method | ||
+ | * gradient tool: https:// | ||
+ | * < | ||
+ | // gradient with half transparent way to half BG | ||
+ | < | ||
+ | span.colorHalfBG{ | ||
+ | padding-left: | ||
+ | padding-right: | ||
+ | background: linear-gradient(0deg, | ||
+ | } | ||
+ | </ | ||
+ | * :before in absolute position to draw a block behind method | ||
+ | * ref: https:// | ||
+ | * < | ||
+ | .colorHalfBG: | ||
+ | display: block; | ||
+ | content:''; | ||
+ | position: | ||
+ | width:100%; | ||
+ | bottom:0; | ||
+ | left:0; | ||
+ | background:# | ||
+ | z-index:-1; | ||
+ | height:50%; | ||
+ | } | ||
</ | </ | ||
===== Real CSS tricks ===== | ===== Real CSS tricks ===== |