Содержание
- 2. Selektorlarni birgalikda ishlatish a { font-size:16px; text-decoration: dashed; } .qizil-fon { background-color: tomato; } .yashil-fon {
- 3. Selektorlar Ishlatilishi bo'yicha selektorlarning quyidagi ko'rinishlari mavjud: Kombinatorlar Atribut selektorlari Psevdosinflar Psevdoelementlar QODIRBEK MAXAROV
- 4. Kombinatorlar Guruhlash (grouping selector (,)) Avlod selektorlar (descendant selector (space)) Farzand selektorlar (child selector (>)) Qo'shni
- 5. Selektorlarni guruhlash div { color: tomato; } p { color: tomato; } h2 { color: tomato;
- 6. Avlod selektorlar QODIRBEK MAXAROV element element { /* stil xossalari */ }
- 7. Avlod selektorlar body{ text-align: center; } div p{ color: blue; font-size:18px; font-weight: bold; text-align: center; }
- 8. Farzand selektorlar QODIRBEK MAXAROV element > element { /* stil xossalari */ }
- 9. Farzand selektorlar body { font-size: 14px; text-align: center; } div > p { color: blue; font-size:18px;
- 10. Qo'shni selektorlar QODIRBEK MAXAROV element + element { /* stil xossalari */ }
- 11. Qo'shni selektorlar body { font-size: 14px; text-align: center; } p + p { color: blue; font-size:18px;
- 12. Keyingi selektorlar QODIRBEK MAXAROV element ~ element { /* stil xossalari */ }
- 13. Keyingi selektorlar body { font-size: 14px; text-align: center; } h1 ~ p { color: blue; font-size:18px;
- 14. Atribut selektorlari QODIRBEK MAXAROV
- 15. Atribut selektorlar [title] { border: 5px solid red; } [title=image] { border: 5px solid green; }
- 16. Atribut selektorlar a[href^="http://"] { font-weight: bold; text-decoration: none; } a[href$=".ru"] { background: url(images/ru.png) no-repeat 0 4px;
- 17. Psevdosinflar Psevdosinflar elementlarning dinamik holatini belgilaydi, ular foydalanuvchi harakati bilan o'zgaradi. Masalan, havola ustiga sichqoncha kursori
- 18. Element holatini aniqlovchi psevdosinflar :active – element foydalanuvchi tomonidan aktivlashtirilganda :link – o'tilmagan havolalar uchun stil
- 19. Element holatini aniqlovchi psevdosinflar :checked – tanlangan element uchun :disabled – o'chirilgan element uchun :enabled –
- 20. QODIRBEK MAXAROV Element holatini aniqlovchi psevdosinflar A:link { color: #036; /* O'tilmagan havola */ } A:visited
- 21. QODIRBEK MAXAROV Element holatini aniqlovchi psevdosinflar table { border-spacing: 0; } td { padding: 4px; }
- 22. QODIRBEK MAXAROV Element holatini aniqlovchi psevdosinflar input:focus { color: red; } ...
- 23. QODIRBEK MAXAROV Element holatini aniqlovchi psevdosinflar input:disabled { border: 2px dashed grey; } input:invalid { color:
- 24. QODIRBEK MAXAROV Elementlar ierarxiyasiga bog'liq psevdosinflar :empty – vorisi bo'lmagan element uchun :first-child – o'zining ajdodiga
- 25. QODIRBEK MAXAROV p:empty { width: 100px; height: 20px; background: #ff0000; } ... A paragraph. Another paragraph.
- 26. QODIRBEK MAXAROV Elementlar ierarxiyasiga bog'liq psevdosinflar p { color: blue; } :not(p) { color: red; }
- 27. QODIRBEK MAXAROV Elementlar ierarxiyasiga bog'liq psevdosinflar p:first-child { background: red; } h4:first-of-type { background: green; }
- 28. QODIRBEK MAXAROV Elementlar ierarxiyasiga bog'liq psevdosinflar p:only-child { background: red; } span:only-of-type { background: yellow; }
- 29. QODIRBEK MAXAROV Elementlar ierarxiyasiga bog'liq psevdosinflar nth-qoidalar quyidagi qiymat qabul qilishi mumkin: son kalit so'z (odd,
- 30. QODIRBEK MAXAROV Elementlar ierarxiyasiga bog'liq psevdosinflar tr:nth-child(odd) { background: #FFBFBF; } tr:nth-child(n+4):nth-child(odd) { background: #FFBFBF; }
- 31. QODIRBEK MAXAROV Psevdoelementlar Psevdoelementlar – "virtual" element yaratish uchun ishlatiladi. ::before ::after ::first-letter ::first-line ::selection
- 32. QODIRBEK MAXAROV Psevdoelementlar p.new::before { content: "!!!"; color: blue; font: 40px Georgia; } p.new::after { content:
- 33. QODIRBEK MAXAROV Psevdoelementlar p::first-letter { color: #ff0000; font-size: xx-large; } p::first-line { color: #0000ff; font-variant: small-caps;
- 34. QODIRBEK MAXAROV Psevdoelementlar /*::-moz-selection Firefox 62.0 gacha */ ::selection { color: red; background: yellow; } The
- 36. Скачать презентацию













![Atribut selektorlar [title] { border: 5px solid red; } [title=image] { border:](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/967806/slide-14.jpg)



![Atribut selektorlar a[href^="http://"] { font-weight: bold; text-decoration: none; } a[href$=".ru"] { background:](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/967806/slide-15.jpg)
















История создания и развития ЭВМ
Вводное занятие по аппаратному обеспечению компьютерных технологий (лекция 1)
01.05 В Т1
ИЗМЕРЕНИЕ ИНФОРМАЦИИ 9 КЛАСС
Всемирная паутина как информационное хранилище
Основы Медиаобразования
Создание короткометражного анимационного фильма с персонажем
Информационные технологии. Тема 1-5. Концепция объектно-ориентированного программирования
Что такое документ?
Типы шрифтов
Моделирование процесса образования и перемещения облака при истечении СПГ из аварийных отверстий и трубопроводов
Лекция6
SPI-интерфейс
Презентация Бесконтактная оплата
Социальные сети. You Tube
Платформа .Net C#
ПО для виртуализации. Виртуальные Машины
Вплив пандемії COVID-19 на розвиток фінтеху
Система адресации в сети иньернет
Презентация на тему Форматы графических файлов
Инструмент Маска
Изображения. Урок 6
Схема передачи информации. Отправитель информации
ИиОИТ 2019. Лекция 2. Информация и ее свойства_2020 (1)
Одномерные массивы
Novaya_prezentatsia2
Round Robin
Я люблю проектировать и рисовать