avalon project practice record

Original address: http://mtmzorro.github.io/201... Project Background Need to be compatible with IE7 (important persuasion to discard IE6 based on data support) The last version of the traditional jQuery DOM development model, after numerous manual maintenance has been horrible to see Core Business Processes, Maintainability and Robustness Req ...

Added by MannX on Wed, 19 Jun 2019 03:14:42 +0300

Fifty lines of code to get the bomb screen effect

Preface In recent years, the bullet curtain has slowly become popular. We can see the image of the barrage when we watch video or live broadcasting on the internet. Sometimes the content of the barrage is even more wonderful than the content of the video itself. I also like the marble curtain very much. It's common to brush a marble curtain at ...

Added by cgchris99 on Tue, 18 Jun 2019 23:42:54 +0300

Detailed explanation of CSS compatibility

Box Model Attributes[width/height](Full compatibility) width height (IE6-I won't support it) min-width max-width min-height max-height[inner margin padding]padding[border](Full compatibility) border border-width border-color border-style (IE8-I won't support it) border-radius (IE10-I won't support it) border-image border-image-source border- ...

Added by tinkertron on Wed, 12 Jun 2019 20:45:57 +0300

Crawlers - GET and POST requests

urllib.parse.urlencode() and urllib.parse.unquote() Encoding uses the urlencode() function of urllib.parse to help us convert key:value pairs into strings like "key=value". Decoding uses urllib's unquote() function. # Test results in Python 3.5 console >>> import urllib >>> word = {"wd":"Reptiles"} # By using the ...

Added by phpform08 on Wed, 12 Jun 2019 19:53:44 +0300

Front-end Development Start to Practice: Calculate the exposure time (residence time) of each module in a page

Products want to see the active pages put out. Users are more interested in what information is on their pages, and they are not interested in what information is on their pages at all. => Calculate the residence time of each module in the page The first time I heard this demand, my brain started to run crazily, and then I thought of plan ...

Added by cristal777 on Tue, 04 Jun 2019 06:01:24 +0300

python Exercise (13)

Implement Queue using Stacks subject Thoughts and Solutions Answer Longest Uncommon Subsequence I subject Thoughts and Solutions Answer Combination Sum subject Thoughts and Solutions Answer Subsets subject Thoughts and Solutions Answer Word Ladder II Binary Tree Level Order Traversal subject Thoughts and Solutions Answer ...

Added by FastLaneHosting on Tue, 04 Jun 2019 00:45:26 +0300

Solutions to Browser Compatibility Problems

Solutions to Browser Compatibility Problems Popularity: Browser compatibility problems are often caused by inconsistent definitions of some standards by individual browsers (yes, that particular browser). As the saying goes: Without IE, there will be no harm. Tips: The content is self-summarized, there will inevitably be errors or bug s, yo ...

Added by ikebaldo on Wed, 29 May 2019 23:02:24 +0300

Introduction to Front-end Development to Practice: Five Ways to Detail CSS Three-Column Layout

Topic: Assuming the height is known, please write out three columns layout, in which the width of left column and right column are 300 px, and the middle column is adaptive. Five schemes for three-column layout This is a classic interview question. Below are five methods of css layout. <!DOCTYPE html> <html ...

Added by LiamBailey on Wed, 29 May 2019 12:32:34 +0300

Front-end Development Beginning to Practice: Comparison of CSS Shadow Effect between drop-Shadow and box-Shadow

Drop-shadow and box-shadow are css attributes of shadow effect (halo effect). The biggest difference between them is that box-shadow can only produce rectangular shadows, while drop-shadow can produce shadows of exactly the same shape as opaque areas of objects. Below is the use of two css attributes: .drop-shadow { ...

Added by t2birkey on Wed, 29 May 2019 12:29:32 +0300

Proficiency in JS regular expressions

by Aaron: http://www.cnblogs.com/aaronjs/archive/2012/06/30/2570970.html Proficiency in JS regular expressions Regular expressions can:Testing a pattern of a string. For example, you can test an input string to see if there is a phone number mode or a credit card number mode in the string. This is called data validation.Replace text. Y ...

Added by demon_athens on Sun, 26 May 2019 20:45:20 +0300