Wrote so long CSS, but most of the front-end er are not in accordance with the good CSS writing code to write CSS, this will affect the code reading experience, here summarizes a CSS writing specification, CSS Writing order for everyone to reference these are reference to some foreign articles and my personal experience summed up, I think it's worth learning for front-end users who write CSS. First, the 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. Other (animation, transition, etc.) second, the CSS writing specification 1. Using CSS abbreviation properties CSS Some properties can be abbreviated, such as Padding,margin,font and so on, which
1. Teach you how to write a standard CSS style
Introduction: wrote so long CSS, but most of the front-end er are not in accordance with good CSS writing code to write CSS, this will affect the code reading experience, here summarizes a CSS writing specification, CSS Writing order for everyone to reference
2. laravel5.2 realizes the method of distinguishing before and after user login
Introduction: This article mainly introduces the laravel5.2 implementation of the user login before and after the method, very good, with reference value, the need for friends can refer to the next
3. php + + and logical operation details PHP decryption brother even PHP Democratic fine
Introduction: PHP, Details: PHP + + and the details of the logic operation: Probably the technology everyone, and then the details decided the height, today to pull some details of the PHP and logical operators: We all know is to give a variable of 1, but before and after; $a =5; $b =0; $a//a=6; This is the affirmative $b= $a;//How much does this $b equal? $b = 5, because this is the first to assign and then to $ A; $b = $a;//what is $b equal to this time? This is $b equals 6, because the first implementation of the re-assignment, the same can be obtained some equations: $a *4=20; $a *4=24; these details sometimes
4. PHP processing date format is seconds ago, minutes ago, hours ago, yesterday, the day before
Introduction: PHP Processing date format is seconds ago, minutes ago, hours ago, yesterday, the day before
5. PHP Student Management System Implementation _php Tutorial
Introduction: PHP Student management system implementation. PHP Student Management System Implementation recently, the school opened a PHP course, by the way wrote a homework, share it ... It's a simple thing to do. 、、、 omit part of the front-end code
6. Eight.. PHP mode design----Enterprise Mode (1) _php tutorial
Introduction: Eight. . PHP mode design----Enterprise Mode (1). Eight.. PHP mode design----Enterprise Mode (1) (* Temporarily not split front controller and application controller, all integrated in command class implementation) 1 Registry mode//Registry mode//Registry mode for
7. PHP friendly time Format function sharing
Description: PHP friendly time format function share <?phpclass dateformat{private static $_diff_format = Array (' Day ' + '%s days ago ', ' day_hour ' = '%s ' Days %s hours ago ', ' HOUR ' = '%s hours ', ' hour_minute ' + '%s hours before%s '
8. PHP Disposition date format is seconds ago, before, hours before, yesterday, the day before
Introduction: PHP Processing date format is seconds ago, before, hours ago, yesterday, the day before/** * The date format is modified according to the following rules to different display style * Less than 1 minutes display how many seconds ago * less than 1 hours, show how many minutes ago * day, show how many hours ago * 3 days, show the day before 22:23 or yesterday: 1 2:23. * More than 3 days, the full date is displayed.
9. thinkphp How the functions of the foreground and background utilities load
Summary: thinkphp How do the functions of the foreground and background utilities load? Built a website with thinkphp, the front desk and backstage (items are not grouped), there are two entrances, front entrance index.php backstage entrance Admin.php I would like to ask, the foreground and background common functions, such as how to load, such as the foreground and the background will use the time function, all about the time function is placed in a lib_time.php this file, &nbs
Thinkphp How the functions of the foreground and background utilities load
Summary: thinkphp How do the functions of the foreground and background utilities load? Built a website with thinkphp, the front desk and backstage (items are not grouped), there are two entrances, front entrance index.php backstage entrance Admin.php I would like to ask, the foreground and background common functions, how to load, such as the foreground and the background will use the time function, all about the time function is placed in a lib_time.php this file,
"Related question and answer recommendation":
PHP-YII2 module backstage How to design a more elegant
How does the Php-yii2 AuthManager component differentiate the front and rear tables?
Javascript-autofixprefixer didn't work.