Свойство border-top-style
Описание
Устанавливает стиль верхней границы элемента.
Синтаксис
border-top-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset;
Пример
<!DOCTYPE html>
<html lang='ru'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Document</title>
</head>
<body>
<style>
#test1 {
width: 300px;
height: 200px;
border: 10px rgb(208, 255, 0);
background-color: rgba(32, 92, 144, 0.416);
border-top-style: double;
}
</style>
<div id='test1'></div>
</body>
</html>
Читайте также
Обращение к самому главному родительскому элементу
Псевдокласс :root определяет корневой элемент документа.<br><br>В HTML этот селектор ...
Свойство text-emphasis
Сокращённое свойство, позволяющее установить значения свойств text-emphasis-style и text-emphasis...
Свойство text-decoration-color
Устанавливает цвет линии, которая добавляется через свойство text-decoration.
Свойство background-position-y
Задаёт начальное положение фонового изображения по оси Y, установленного с помощью свойства backg...
Свойство backface-visibility
Определяет, показывать обратную сторону элемента или нет. Как правило, обратная сторона становитс...