Bootstrap: How do I identify the Bootstrap version?

后端 未结 11 1260
借酒劲吻你
借酒劲吻你 2021-01-31 12:43

I want to update Bootstrap on a site, but I don\'t know the installed version.

How can I identify the bootstrap version, with only bootstrap.css and bootstrap.min.js fil

11条回答
  •  花落未央
    2021-01-31 13:47

    In the top of the bootstrap.css you should have comments like the below:

    /*!
     * Bootstrap v2.3.1
     *
     * Copyright 2012 Twitter, Inc
     * Licensed under the Apache License v2.0
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Designed and built with all the love in the world @twitter by @mdo and @fat.
     */
    

    If they are not there, then they have probably been deleted.

    VERSIONS:

    You can review version history here. Backward compatibility shouldn't be broken if the source is v2.0.0 (Jan 2012) and above. If it is prior to v2.0.0 there are details on upgrading here.

提交回复
热议问题