This method supports IE browsers and other browsers.
1, first define two link, of course you can also be one, the second is to change the CSS
Copy Code code as follows:
2, the following JavaScript code will be based on
css| Web page
CSS layout common methods: Float:none|left|rightTake value:None: default value. object does not floatLeft: text flows to the right of the objectRight: text flows to the left of the object
How does it work, look at a row and two
Today a bit idle, want to ask you about ID and class use.
By literal means, an ID is the "unique flag" of an element in the entire document, and class is the category it belongs to. By syntax, IDs with the same name should appear only once in a
Efficient CSS is not a new topic, nor is it a topic I have to regain, but it is the self in the sky after work, really interested in and always focus on a topic.
Many people either forget, or simply don't realize, that CSS can be efficient and may
Preloading images is a great a-to improve the user experience. When images is preloaded in the browser, the visitor can surf around your site and enjoy extremely faster loading times. This is especially beneficial for photo galleries and other image-
Previous words
Transition transition allows web front-end developers to achieve simple animation interactions without the need for JavaScript. The transition attribute may seem simple, but in fact it has a lot of attention to detail and easy to
For a quick page layout, you must have a clear understanding of the elements of the layout so that you do not always make mistakes in the details. This article first detailed the layout of the factors as the basis for the layout: block-level
[Specification] Front-end encoding specification-html specification, standard front-end encoding htmlDocument Type
Html5 document type statement is recommended:
Language attributes
According to html5 specifications:
We strongly recommend that
[Bootstrap] 3. Optimize Site Resources, complete response images, and enable the conveyor belt to support gestures,
A. Optimize Site Resources
Speed is important. Users are very concerned. Our site must be loaded fast enough, or the user will leave.
CSS background summary and CSS background summary
All background attributes cannot be inherited.
1. background-color
The background color can be set for all elements.
The default value of background-color isTransparentThat is to say, if a
CSS automatic line feed, force line break, force line break, excessive display ellipsis
P labels are automatically wrapped by default. Therefore, setting the width can achieve better results. However, recently, after loading data using ajax, the
CSS3 secret section 3 covers HTML5 Study Notes 1 ~ Chapter 5, css3html5Part 1 ---- chapter 1st of CSS basics, the simpler HTML that CSS requires, and the more friendly the search engine div is a block-level element, A span is a group of related
Use Sass and Compass to write CSS and sasscompass
Recently, I started to use Sass to write CSS Code. At the beginning, although I was not quite used to writing css in chained mode, this is a temporary stage.
If you do not know Sass, you can read
General CSS coding specifications and general css Coding
General CSS coding specifications
In summary, some front-end encoding specifications are provided first, and most of them are common. It should be the mainstream method.1 Preface
The goal of
Sublime Text3 Package Control and Emmet plugin installation method, sublimeemmet
Because of the beginner's front-end, we installed Sumblime Text 3 today, And then we couldn't stop looking for the Package Control installation method.
There are two
Insert videos into webpages and videos into webpages
When creating a personal webpage, we all want to insert videos or movie videos on our webpage. Follow the pace below.
Document
Use CSS3 + JQuery to create a custom video player, css3jquery
IntroductionThe HTML5 tag has been supported by most mainstream browsers, including IE9, which has not yet been officially released. It also states that the tag is supported. Using the
Flat design spreads to interface design in various fields, so don't be surprised when you see it applied in resume design. This article originally organized a group of innovative flat-style resume page designs, but there are not so many examples, so
This winter, I was most impressed by two websites, one being the 12306 train ticket purchase website and the other being the mobile phone official website. The two websites share a common feature, that is, the slow speed at the peak of
Abstract: This article focuses on a more challenging responsive Web design: responsive navigation menu design, which provides five rules, it allows you to easily and efficiently design responsive navigation menus on both large and small screens.
The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.