跳转到内容

Template:Border:修订间差异

轻之舟百科,让知识轻装启航
删除的内容 添加的内容
zhwiki>Shizhao
小无编辑摘要
 
enwiki>SnorlaxMonster
Use individual border CSS properties rather than the shorthand property, as doing it this way allows a greater range of values. (e.g. "border: 1px solid inherit" is not valid CSS, but "border-width: 1px; border-style: solid; border-color: inherit" is.)
标签:已被回退
第1行: 第1行:
<span style="display:{{{display|{{#if:{{{noinline|}}}|table-cell|inline-block}}}}}; <!--border-collapse:collapse;--> border:{{{width|1px}}} {{{style|solid}}} {{{color|var(--border-color-muted,#ddd)}}}; {{#if:{{{lh|{{{line-height|}}}}}}|line-height:{{{lh|{{{line-height|}}}}}};}} {{{style2|}}}">{{{1}}}</span><noinclude>{{template doc}}
<{{#if:{{{div|}}}|div|span}} style="display:{{{display|{{#if:{{{noinline|}}}|table-cell|inline-block}}}}};<!--("table-cell" seemingly ignored by IE)--> <!--border-collapse:collapse;--> border-width:{{{width|1px}}}; border-style:{{{style|solid}}}; border-color:{{{color|#ddd}}}; {{#if:{{{lh|{{{line-height|}}}}}}|line-height:{{{lh|{{{line-height|}}}}}};}} {{{style2|}}}">{{{1}}}</{{#if:{{{div|}}}|div|span}}><noinclude>{{documentation}}
<!--Please add any interwiki links etc on the /doc page, not here - thanks!-->
<!--Please add any interwiki links etc on the /doc page, not here - thanks!-->
</noinclude>
</noinclude>

2026年7月17日 (五) 09:01的版本

{{{1}}}