Deprecated: Typecho\Widget\Request::getServer(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in D:\PHP_HOME\www\gp_blog\var\Typecho\Widget\Request.php on line 219

Deprecated: Typecho\Request::getServer(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in D:\PHP_HOME\www\gp_blog\var\Typecho\Request.php on line 349

Deprecated: Typecho\Widget\Response::goBack(): Implicitly marking parameter $suffix as nullable is deprecated, the explicit nullable type must be used instead in D:\PHP_HOME\www\gp_blog\var\Typecho\Widget\Response.php on line 158

Deprecated: Typecho\Widget\Response::goBack(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in D:\PHP_HOME\www\gp_blog\var\Typecho\Widget\Response.php on line 158
Padding属性的数值赋予顺序 4个 - 开发者

四个为: 上 右 下 左 3个数值为 上 左右 下
padding:5px;就是上下左右都为5;
padding:0px,5px;就是上下为0,左右为5;
padding:10px 5px 15px;就是上位10,左右为5,下为15;
padding:0px,5px,10px,15px;就是上为0,右为5,下为10,左为15,
padding的顺序是顺时针方向的

标签: none

评论已关闭