Home  >  Article  >  Web Front-end  >  How to use css column-rule-style attribute

How to use css column-rule-style attribute

藏色散人
藏色散人Original
2019-05-29 11:22:042957browse

css column-rule-style attribute is used to specify the style rules between columns. Its syntax is column-rule-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset.

How to use css column-rule-style attribute

How to use the css column-rule-style attribute?

Function: Specify style rules between columns.

Syntax:

column-rule-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset;

Description:

none There are no rules for the definition.

hidden Define hiding rules.

dotted Define dotted rules.

dashed Define dashed line rules.

solid Define solid line rules. double defines the double line rule.

groove Define 3D grooved rules. The effect depends on the width and color values.

ridge Define 3D ridged rules. The effect depends on the width and color values.

inset Define 3D inset rules. The effect depends on the width and color values.

outset Define 3D outset rules. The effect depends on the width and color values.​

Note:

Internet Explorer 10 and Opera support the column-rule-style attribute. Firefox supports an alternative -moz-column-rule-style property. Safari and Chrome support an alternative -webkit-column-rule-style attribute. Internet Explorer 9 and earlier browsers do not support the column-rule-style attribute.

css column-rule-style attribute usage example

<!DOCTYPE html>
<html>
<head>
<style> 
.newspaper
{
-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
column-count:3;
-moz-column-gap:40px; /* Firefox */
-webkit-column-gap:40px; /* Safari and Chrome */
column-gap:40px;
-moz-column-rule-style:dotted; /* Firefox */
-webkit-column-rule-style:dotted; /* Safari and Chrome */
column-rule-style:dotted;
}
</style>
</head>
<body>
<p><b>注释:</b>Internet Explorer 不支持 column-rule-style 属性。</p>
<div class="newspaper">
人民网北京2月24日电 (记者 刘阳)国家发展改革委近日发出通知,决定自2月25日零时起将汽、柴油价格每吨分别提高300元和290元,折算到90号汽油和0号柴油(全国平均)每升零售价格分别提高0.22元和0.25元。
此次国内成品油价格调整幅度,是按照现行国内成品油价格形成机制,根据国际市场油价变化情况确定的。去年11月16日国内成品油价格调整以来,受市场预期欧美经济复苏前景向好以及中东局势持续动荡等因素影响,国际市场原油价格先抑后扬,2月上旬WTI和布伦特原油期货价格再次回升至每桶95美元和115美元以上。虽然近两日价格有所回落,但国内油价挂钩的国际市场三种原油连续22个工作日移动平均价格上涨幅度已超过4%,达到国内成品油价格调整的边界条件。
通知指出,这次成品油调价后,国家将按照已建立的补贴机制,继续对种粮农民、渔业(含远洋渔业)、林业、城市公交、农村道路客运(含岛际和农村水路客运)等给予补贴。同时,为保证市场物价基本稳定,防止连锁涨价,对与居民生活密切相关的铁路客运、城市公交、农村道路客运(含岛际和农村水路客运)价格不作调整。
通知要求,中石油、中石化、中海油三大公司要组织好成品油生产和调运,保持合理库存,加强综合协调和应急调度,保障成品油供应。各级价格主管部门要加大市场监督检查力度,依法查处不执行国家价格政策,以及囤积居奇、造谣惑众、合谋涨价、搭车涨价等违法行为,维护正常市场秩序。
</div>
</body>
</html>

Effect output:

How to use css column-rule-style attribute

The above is the detailed content of How to use css column-rule-style attribute. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn