How to use the positon property to make the front-end interface layout adaptively
This article mainly explains "how to use positon attributes to make the front-end interface for adaptive layout", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "how to use positon attributes to make the front-end interface for adaptive layout" bar!
Recently, the position attribute is used for interface layout, which will be often used in future development, so it is convenient to use it in the future and write the style here:
The code is as follows:
All a
Baidu
Baidu
Baidu
Baidu
Baidu
Aaaaaaaaaaaaaaaa
Content
Aaaaaaaaaaaaaaaa
Function addTarget () {
Var allAitem = document.getElementsByTagName ("a")
Var allAnum = allAitem.length
For (var item0; I