CSS 8 Premium One Line Css Tips
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS 8 Premium One Line Css Tips相关的知识,希望对你有一定的参考价值。
/* 1. Vertical centering with line-height */
line-height:24px;
/* 2. Prevent oversized content to break fixed width floated layouts */
#main{
overflow:hidden;
}
/* 3. Prevent line breaks in links */
a{
white-space:nowrap;
}
/* 4. Always show Firefox scrollbar */
html{
overflow:-moz-scrollbars-vertical;
}
/* 5. Centering block elements horizontally */
margin:0 auto;
/* 6. Remove vertical textarea scrollbar in IE */
textarea{
overflow:auto;
}
/* 7. Force page breaks when printing your document */
h2{
page-break-before:always;
}
/* 8. Remove active link borders */
a:active, a:focus{
outline:none;
}
以上是关于CSS 8 Premium One Line Css Tips的主要内容,如果未能解决你的问题,请参考以下文章
(转)Navicat Premium 12.1.8.0安装与激活
MySQL-8.0.11涓嶯avicat Premium瀹夎鏁欑▼
562. Longest Line of Consecutive One in Matrix
562. Longest Line of Consecutive One in Matrix
cs231n knn
web crawling(plus6) more than one line