So the following code is doing a property of css on span is what I believe, so .property1 is not a id so you need to call it by span class like below. Remember if you need to call it by ID then you need to use #property1 not .property1
.property1
{
color: #0dc3ff;
}
<a class="navbar" href="#">Text1<span class ="property1"> + </span> Text2</a>
1
solved Css is not working with my html code