Свойство 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>
Читайте также
Селекторы атрибутов со значениями через дефис
В именах идентификаторов и классов разрешено использовать символ дефиса (-), что позволяет создав...
Свойство text-decoration
Добавляет оформление текста в виде его подчёркивания, перечёркивания или линии над текстом. Однов...
Свойство animation
Используется для создания анимации.<br>Сокращенная запись для свойств animation-name, anima...
Свойство text-transform
Управляет преобразованием текста элемента в заглавные или прописные символы. Когда значение отлич...
Свойство align-items
Используется для выравнивания флекс - элементов внутри контейнера, в перпендикулярном направлении.