Home > Article > Web Front-end > A must read before working on the front end
1.Carefullylook at the design drawing, and then think about the structure of the design drawing, which parts are the header, which parts are the sidebars, and which parts are the bottom. Once you have seen it clearly, you can start to reconstruct the front-end page. When you see some questions, you should ask them in time . (I once tried to change a project three times before the boss said it was OK.)
2.Cut the picture reasonably. Cut the picture where it should be cut, don’t cut the whole picture. (Do not use the method of cutting photos in PS to generate images and html.)
3.Pay attention to the scalability of the page. For example, if the text is too long, you need to add css word-break: break-all to truncate the text, and pay attention to the text line height. (Be more thoughtful about page display.)
4.You must check the page after finishing it. Check the page at least three times to confirm that all functions are correct before submitting the code. (Don’t be afraid of ten thousand, just in case.)