Skip to content

HTML // please help me #21475

Answered by thinkverse
brnrsln asked this question in General
Discussion options

You must be logged in to vote

Hi there. 👋

Indenting your CSS that way isn’t supported by regular CSS, for that, you’d need a pre-processor like SASS which has support for those features.

.nav__link {
    margin-left:50px;
    color: #242f51;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity .1s linear;
}

.nav__link--btn {
padding:20px 20px ;
border:2px solid #242f51;
border-radius: 20px;
}

This should work just fine. 🙂

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants