Новые статьи

2
Пріоритети стилів або ієрархія в CSS

В блоге пользователя Sergunik, который находится по адресу http://www.sergunik.name, нашлась очень полезная информация для разработчиков, а именно о приоритетах стилей в CSS. Часто на это попадаются многие веб-разработчики. Потому думаю будет очень полезно прочитать. Статья на украинском, но думаю проблем ни у кого не возникнет.

Питання на засипку:
Якого кольору буде текст? якщо:

<html>
<head>
   <style type=”text/css”>
      .text_class {color: Red;}
      #text_id {color: Green;}
      div {color: Blue;}
   </style>
</head>
<body>
   <div id=”text_id” class=”text_class”><b>CSS Specificity</b></div>
</body>
</html>

 

а ось кий він буде: приклад

Чому так?
А тому що в CSS виставляються свої пріоритети на кожен айдішник, клас або ...












К нам присоединились


DOMINAKI

ElemenT

gerl

ShiftedReality

shidud

Vonx

Новое в блогах

0
 shidudC++ Software Developer (Working from home) - High Frequency Trading

Shidud Ltd. is an established financial boutique firm, specializing in high-frequency data transfer and automatic financial trading.

We are looking for an experienced C++ developer to join our team. The candidate would be required to work full-time from home. Responsibilities would include writing code and leading independently a development effort. .

Requirements

• Proficient in C++
• Experienced in working with profiling tools, drivers, network programming and sorting algorithms

• Experienced in working with sockets communication and multi-threading ( IO Completion Ports )
• A sharp developer with strong problem-solving abilities
• Independent, self-motivated with a fully equipped home office
• Results-driven individual that ties up ...









Новые сниппеты