Problem Statement
If two CSS rules conflict, how will you find which one is applied?
Explanation
When CSS rules conflict, you can open the browser’s Developer Tools and inspect the element. The 'Computed' tab shows the final applied styles. The browser uses specificity and the cascade order to determine which rule wins.
Code Solution
SolutionRead Only
/* Use browser DevTools > Computed Styles */
Practice Sets
This question appears in the following practice sets:
