Why, after connecting to the HTML page CSS Twitter Bootstrap, the usual style stopped working?

<head> <link rel="stylesheet" href="css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> 

More precisely, some properties work, and some do not.

Suppose this block has ceased to run correctly:

 html { width: 100%; height: 100%; background: #599FD1; font-family: Calibri; } 
  • one
    try html, body {your style! important; } a lot of styles are written in the bootstrap with! important, they are more important than yours, I suspect that bootstrap version 2+, try 3 like they refused! important. - ferrari
  • Followed your advice, but still. - progmb

1 answer 1

Most likely the bootstrap just overlaps your styles! Important. In general, look through the chrome web tools. He shows everything perfectly:

alt text

  • Tell me how to be in this case? - progmb
  • one
    Use 3 bootstrap or not use it at all. - ferrari
  • Above already offered. I connected the css folder from the dist folder like. Same. - progmb