Home > Article > Web Front-end > Recommended 10 articles about points before
I have been writing CSS for so long, but most front-end ers do not write CSS code according to good CSS writing specifications, which will affect the reading experience of the code. Here is a summary of CSS writing specifications and CSS writing order for your reference. This is summarized by referring to some foreign articles and my personal experience. I think it is worth learning for front-end users who write CSS. 1. CSS writing order 1. Position attributes (position, top, right, z-index, display, float, etc.) 2. Size (width, height, padding, margin) 3. Text series (font, line-height, letter- spacing, color-text-align, etc.) 4. Background (background, border, etc.) 5. Others (animation, transition, etc.) 2. CSS writing specifications 1. Use CSS abbreviation properties Some CSS properties can be abbreviated, such as padding, margin , font, etc., this
1. Teach you how to write CSS styles in a standardized way
##Introduction: I have been writing CSS for so long, but most front-end ers do not write CSS code according to good CSS writing specifications. This will affect the reading experience of the code. Here is a summary of CSS writing specifications. , CSS writing order for your reference
2. laravel5.2 Method to realize the distinction between front and back user login
Introduction: This article mainly introduces the method of laravel5.2 to realize the distinction between front and back user login. It is very good and has reference value. Friends who need it can refer to it
3. The details of php++ and logical operations php decryption of Brothers in Arms php The details of democracy
Introduction: php, Details: Details of php++ and logical operations: Everyone knows the general technology, and then the details determine the height. Today, let’s talk about some details of php and logical operators: we all know that it is to increment a certain variable by 1. But before and after; $a=5;$b=0;$a //a=6; this is definitely $b=$a;//What is the value of $b? $b=5, because this is assigned first and then $a;$b=$a;//What is $b equal to at this time? This is $b equals 6, because it is executed first and then assigned; similarly, some equations can be obtained: $a*4=20;$a*4=24; These details are sometimes
4. php processes date formats as seconds ago, minutes ago, hours ago, yesterday, and the day before yesterday
Introduction: php processes date formats as seconds ago, minutes ago , hours ago, yesterday, the day before yesterday
5. PHP Student Management System Implementation_PHP Tutorial
Introduction: PHP Implementation of student management system. Implementation of PHP student management system Recently, the school opened a PHP course, and I wrote an assignment by the way, please share it. . . They are all very simple things that novices can use.,,. Omit part of the front-end code
6. 8. PHP mode design----Enterprise mode (1) _PHP Tutorial
#Introduction: 8. PHP pattern design----Enterprise pattern (1). 8. PHP mode design----Enterprise mode (1) (*The front-end controller and application controller have not been separated for the time being, and they are all integrated into the Command class) 1 Registry mode //Registry mode//Registry mode Used for
7. PHP friendly time formatting function sharing
Introduction: PHP friendly time formatting function sharing '%s days ago', 'DAY_HOUR' => '%s day %s hours ago', 'HOUR' => '%s hours', 'HOUR_MINUTE' => '%s hours %s minutes ago'
8. PHP handles date formats as seconds ago, minutes ago, hours ago, yesterday, and the day before yesterday
Introduction: PHP handles date formats as seconds ago, minutes ago, hours ago, yesterday, and the day before yesterday /** * Modify the date format to different display styles according to the following rules * If it is less than 1 minute, show how many seconds ago it was * If less than 1 hour, show how many minutes ago * Within a day, show how many hours ago * Within 3 days, display 22:23 the day before yesterday or 12:23 yesterday. * If it is more than 3 days, the complete date will be displayed.
9. How to load functions common to thinkphp front-end and back-end
Introduction: thinkphp common functions to front-end and back-end How to load? I built a website using thinkphp, which is divided into front-end and back-end (projects are not grouped). There are two entrances, the front-end entrance index.php and the back-end entrance admin.php I would like to ask how to load the functions that are common to the frontend and the backend. For example, both the frontend and the backend use time functions. All time-related functions are placed in a file called lib_time.php.&nbs
10. thinkphp How to load functions common to the frontend and backend
Introduction: thinkphp How to load functions common to the frontend and backend? I built a website using thinkphp, which is divided into front-end and back-end (the projects are not grouped). There are two entrances, the front-end entrance index.php and the back-end entrance admin.php. I would like to ask how to load the functions common to the front-end and back-end, such as the front-end Time functions are used in both the background and the background. All time-related functions are placed in a file lib_time.php,
[Related Q&A recommendations]:
php - How to design the module backend of yii2 more elegantly
php - How to distinguish the frontend and backend of the Yii2 authmanager component?
javascript - autofixprefixer not working
The above is the detailed content of Recommended 10 articles about points before. For more information, please follow other related articles on the PHP Chinese website!