Загрузка...

CSS Interview Question: Font Size Output Explained! #shorts #webdevelopment

👀 What will be the font-size of this paragraph in CSS?

🧪 Test your CSS knowledge with this real interview-style question!
p {
font-size: 20px;
}
.text {
font-size: 30px;
}
```

👉 The correct answer is: 30px ✅
Because `.text` (class selector) overrides the `p` tag selector due to higher specificity.

📌 This type of question is frequently asked in frontend interviews — so make sure you get it right!

💬 Drop your answer in the **comments**
❤️ Like
🔁 Share with your friends
🔔 Subscribe for more daily frontend interview tips!

Got a topic or question in mind? Suggest it in the comments for the next short! 💡

#CSSInterviewQuestions #CSSOutput #frontendinterview #webdevelopment #learncss #htmlcss #codingshorts #codebypc #mernstack #techshorts #developerlife #FontSizeCSS #frontendtips #youtubeshorts #shrots

Видео CSS Interview Question: Font Size Output Explained! #shorts #webdevelopment канала codebypc
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять