Which of the following will add a border to a div element, without adding to its size in pixels?
Correct Answer: div{ box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; width:100px; height:100px; border:20px solid red; background:green; margin:10px; } div + div{ border:10px solid red; }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More CSS MCQ Questions