The most basic part of web page optimization should be HTML optimization. Specifically, the first is markup cleaning. Cleaning markup can not only reduce the size of the document, but also make the document easier to maintain and improve the visibility of
CSS web page layout can also be regarded as a systematic work. The development of DIVCSS website may be completed by multiple people in collaboration and by a team. This involves many normative operation issues. Even if it is developed by one person, a ce
Background Recently, the development company's public account H5 has a function of clicking the icon to scroll to the top. The function is relatively simple to implement. Just call window.scrollTo(0, 0) directly and complete it in one line of code. Bu
Use css to achieve perspective effect. At first, I thought of our common method of adding shadow effects, which is achieved by using multiple divs through offset, but this requires many divs, which is not ideal. Then, I thought of a property of CSS: borde
The design needs to have a sense of layering, which may be of many types, such as the layering of colors or the layering of elements. When a design lacks a sense of hierarchy, the page will show only two possibilities, one is monotonous, and the other is
GZIP is a really useful tool for compressing many types of code. It may not be the simplest compression method, and it may be a bit confusing for beginners.
Automatic line wrapping problem, line wrapping of normal characters is more reasonable, but continuous numbers and English characters often expand the container, which is quite a headache. The following is how to implement line wrapping in CSS.
How to pass parameters to event handler? When I first came into contact with Javascript, I often struggled with this problem because I didn't have a deep understanding of closures. We often encounter this problem in discussion groups. The code is copi
PDF.js is a PDF reader based on HTML5. It is compatible with most mainstream browsers and is relatively simple to use. The steps are as follows: 1. Download the PDF.js plug-in download address: http://mozilla.github.io/pdf.js/getting_started/#
Cooperate with artists to form sketches into specific designs that conform to WebPage. Ability to quickly create layered high-quality PSD and PNG. Can quickly conceptualize PSD and PNG content into HTML codes such as div+css or table.
Learning to write clean, optimized CSS takes a lot of practice and an unconscious, compulsive desire to clean. Keeping your CSS tidy isn't just about your crazy psychological need to be clean, though, especially for larger sites, it will make pages lo
CSS3 can achieve many effects that previously required the use of images and scripts in just a few lines of code. Such as rounded corners, picture borders, text shadows and box shadows, etc. CSS3 not only simplifies the design process for front-end develo