T
T
Tyoma Ti2019-10-24 08:50:56
HTML
Tyoma Ti, 2019-10-24 08:50:56

How can I make sure that the styles of the entire document do not change when connecting a link?

I connect to the link document for the twitter-bootstrap carousel to work on the site.

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css">

This changes the styles of all elements of the document. How can I change the styles of only one block - the one for which I need it? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gleb Varganov, 2019-10-24
@kores

Save the styles to your local server, connect them from there.
Thus, on your server, you can leave only the styles that you need.
In general, styles are always applied to the entire page, so if there is a conflict, you can also rename the IDs and classes in your code so that they do not conflict.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question