skip to Main Content

When I get minified version of Bootstrap v3.2.0. to me it seems like it’s commented, but it is working, what kind of comments are those, how browser understands it:

/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css      */html{font-fami

Look here https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap.min.css

2

Answers


  1. The slash asterisk, /*, opens a multi-line comment and */ closes multi-line comments. You can see right before the CSS starts the comment is closed by the */.

    Login or Signup to reply.
  2. Further, the /*! preserves the comment through the minify process.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search