##Comparison between layui and bootstrap
This Both belong to the UI rendering framework
layui is a framework developed by Chinese people. It came out in 2016 and has now been updated to version 2.X. Relatively new, lightweight, simple and beautiful in style. bootstrap is a relatively mature framework and has now been updated to version 4.X. It is a very mature framework that most people have generally used.The scope of application is different
layui is actually more suitable for back-end developers, and has very good effects on the server page: (1) Make the background framework. (2) The author "Xianxin" has said that the starting point for developing this framework is to meet the needs of server-side programmers. So you understand. (3) Layui is the best UI framework provided to back-end developers. It is based on DOM driver. It is more troublesome to implement front-end interaction. Addition, deletion, modification and query of pages require querying DOM elements. So when interaction is not required, it is good to use layui. Related recommendations: "bootstrap Getting Started Tutorial"
bootstrap does a good job in front-end responsiveness, performs well on both the PC and mobile terminals, and is good at making websites: (1) If it is similar to the official website and needs to satisfy both PC and mobile effects, bs performs very well. (2) But if it is a website that requires interaction, such as a mall, vue is obviously better, and the front and back ends are separated.Different sizes
layui lightweight. bootsrap is easy to use because it is mature, but it is also somewhat redundant because it is mature.The above is the detailed content of The difference between bootstrap and layui. For more information, please follow other related articles on the PHP Chinese website!