getting <element class="demotest"> Selector specificity (0, 1, 0)

Noreen Giovinazzi 0 Reputation points
2024-02-20T16:08:43.56+00:00

My curly brace is not being recognized and showing the following error after typing in both html and css files: <style> .demotest { } MY FIRST CURLY BRACE IS NOT BEING RECOGNIZED

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 72,511 Reputation points
    2024-02-20T17:28:56.0933333+00:00

    Your question is not clear. The braces have no effect on selectivity, and 0-1-0 is correct for a class name only selector.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.