Lorem ipsum dolor sit amet
Lorem, ipsum dolor sit amet consectetur adipisicing elit.
Читати далі...Цей текст буде синім.
p/ style="color:blue; font-size:20px;">Цей текст буде синім. /p
head link rel="stylesheet" href="./css/styles.css" head
На одному рівні з index.html створюється папка css, а всередині неї - файл стилів styles.css
Можна підключити скільки завгодно CSS-файлів, додаючи для кожного тег link
p { font-size: 24px; }
В елемента може бути кілька класів, тоді вони записуються через пробіл
Поповнення рахунку виконано
Увага, будуть змінені тарифи
Помилка проведення транзакції
<h4 id="title">Селектор ідентифікатора</h4>
селектор застосовує стилі до дітей і нащадків елемента за будь-якої глибини вкладеності.
Наведи на посилання і вона змінить колір link :hover.
social-links-2 :hover
social-links-3 :focus Натискай TAB
використовується в основному для посилань і кнопок
social-links-4 :focus Натискай Btn
Train number | Route | Travel time |
---|---|---|
433 | London - Paris | 5 hours |
701 | New York - Chicago | 7 hours |
258 | Oslo - Warsaw | 4 hours |
Lorem, ipsum dolor sit amet consectetur adipisicing elit.
Читати далі...background-color yellow
color: rgb(255, 0, 0)
старий колір: rgb(228, 227, 235)
color: rgb(100%, 0%, 0%)
color: #0000ff
Прозорість color: rgba(0, 0, 0, 0.3)
Wyatt resteth here, that quick could never rest; Whose heavenly gifts increased by disdain, And virtue sank the deeper in his breast; Such profit he by envy could obtain.
A head where wisdom mysteries did frame, Whose hammers beat still in that lively brain As on a stithy where that some work of fame Was daily wrought, to turn to Britain's gain.