Summary of Bootstrap background usage issues (1)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:50:18
Original
1147 people have browsed it

This is my first time to compile a blog. I don’t understand the rules, please forgive me~~

I need a backend for my recent project, so I posted it online Down a lot of Bootstrap background source code. I carefully selected and decided to use the "ACE backend management system" (because it is in Chinese, and Xiaolu, an English level three dog, can still understand it).

Let’s take a preview first:

A few problems found during use are summarized as follows:

1. The page loads slowly or cannot be opened at all.

I was confused for a long time. I opened the source code in the editor and found the following code:

<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />
Copy after login

After commenting it, it opened quickly.

Solution: Solution to slow loading of fonts.googleapis.com

2. The background program uses the Font Awesome icon.

The first time I used this icon font library, I ignored the font library version problem used in the source code and replaced it with the latest font library version, causing some icons not to be displayed.

Solution: Of course, download the corresponding version of the font library

Another: The font library link uses the service on the bootstrap Chinese website.

3. Annoying browser compatibility issues.

FF and Chrome support well, but there is a problem under IE. It was discovered that there was a problem with the JQ version.

Cause: jQuery 2.0 no longer supports IE 6/7/8

Solution: Insert two versions of JQ to judge the browser. The code is as follows:

<!--[if !IE]><!--><script src="assets/js/jquery-2.0.3.min.js"></script><!--<![endif]-->  <!--[if IE]> <script src="assets/js/jquery-1.10.2.min.js"></script><![endif]-->
Copy after login

4. Continue research...

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!