Шаблон:Test3 — различия между версиями

Материал из Integra-S Wiki
Перейти к: навигация, поиск
 
(не показано 114 промежуточных версий этого же участника)
Строка 1: Строка 1:
<!DOCTYPE html>
+
<div style="width: {{{Ширина}}}; margin: 20px auto; display: {{{Позиция}}};margin-left: {{{Отступ}}}; float: {{{Выравнивание}}}">
<html>
+
<div style="width: 100%;
<head>
+
border-top-left-radius:9px;
<style>
+
border-top-right-radius:9px;
p.one {
+
height: 50px;
    border-style: solid;
+
box-sizing: border-box;
    border-width: 5px;
+
font-size:1.5em;
}
+
line-height: 30px;
 
+
margin: 0;
p.two {
+
padding: 10px;
    border-style: solid;
+
background: {{{Цвет}}};
    border-width: medium;
+
border: solid 1px {{{Цвет}}};
}
+
margin-top: {{{Отступ_низ}}};>
 
+
<p style = "margin: 0;line-height: 30px;">  
p.three {
+
{{{Заголовок}}}</p>
    border-style: dotted;
+
</div>
    border-width: 2px;
+
<div style="width: 100%;
}
+
padding: 10px;
 
+
box-sizing: border-box;
p.four {
+
border-bottom-right-radius:9px;
    border-style: dotted;
+
border-bottom-left-radius:9px;
    border-width: thick;
+
border: solid 1px {{{Цвет}}};
}
+
>
 
+
{{{Текст}}}
p.five {
+
</div>
    border-style: double;
+
</div>
    border-width: 15px;
 
}
 
 
 
p.six {
 
    border-style: double;
 
    border-width: thick;
 
}
 
 
 
p.seven {
 
    border-style: solid;
 
    border-width: 2px 10px 4px 20px;
 
}
 
</style>
 
</head>
 
<body>
 
 
 
<h2>The border-width Property</h2>
 
<p>This property specifies the width of the four borders:</p>
 
 
 
<p class="one">Some text.</p>
 
<p class="two">Some text.</p>
 
<p class="three">Some text.</p>
 
<p class="four">Some text.</p>
 
<p class="five">Some text.</p>
 
<p class="six">Some text.</p>
 
<p class="seven">Some text.</p>
 
 
 
<p><b>Note:</b> The "border-width" property does not work if it is used alone.
 
Always specify the "border-style" property to set the borders first.</p>
 
 
 
</body>
 
</html>
 

Текущая версия на 14:07, 30 октября 2017

{{{Заголовок}}}

{{{Текст}}}