listing12-20_polish.css_extendingstyles

来自「着几乎所有智能机厂商都将有自己配套的App Store,甚至并非智能手机制造商的」· CSS_EXTENDINGSTYLES 代码 · 共 26 行

CSS_EXTENDINGSTYLES
26 行
字号
/* Extending styles can save you a lot of work
   and allows you to change many settings at once
   in one single place.
   Beware of image backgrounds and the like, however.
   These are instantiated several times when they
   are defined in a parent style.
   Better define a background that is used several times
   in the "backgrounds" section and reference it in
   the parent style.
*/

.mainScreen {
	margin: 10;
	font-color: black;
	font-size: medium;
	font-style: italic;
	background-color: gray;
}

.highscoreScreen extends mainScreen {
	font-color: white;
	background-color: black;
}


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?