Picture rotation in horizontal and vertical screen of mobile phone
Several main problems to be solved in image rendering
1. The picture is horizontal by default, and the picture center should be set.
max-height:100%;max-width:100%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)"
2. Need to rotate: the width of the picture is larger than the height, so the picture will be larger after rotat ...
Posted by sarmad_m_azad on Thu, 17 Oct 2019 10:37:26 -0700
Authorized login of fast app
The authorization of fast applications can be divided into different situations. Huawei and Meizu do not support wechat account authorization. Therefore, Huawei needs to use Huawei's account, Meizu's account, and open web pages and web pages to communicate with fast applications. The most ideal login is the mobile phone verification code.
1. Hu ...
Posted by kycan on Thu, 17 Oct 2019 03:06:31 -0700
Qt writing custom control 72 prompt progress bar
I. Preface
In many installation packages, in the installation process, we can often see a beautiful progress bar at the bottom, which is suspended to display the corresponding progress, and then the bottom progress is displayed in a variety of color gradients. The progress bar provided by Qt or the progress bar style of the operating system is ...
Posted by chacha102 on Wed, 16 Oct 2019 18:56:43 -0700
JS learning notes (Chapter 9) (client detection)
1. Capability test
The goal of capability testing is not to identify a specific browser, but to identify the capability of the browser. When possible, try to use typeof for capability testing. To test whether a property of any object exists in the browser environment, use the following function:
function isHostMethod(object,property) {
var ...
Posted by enterume on Wed, 16 Oct 2019 13:39:07 -0700
On Adapter mode
I. Preface
Adapter mode can be divided into two types. The so-called "adapter" is the appropriate or appropriate coordination. Think of the adapter of the power supply, the function of which is to convert the AC 220V into different DC voltage to charge the mobile phone, computer, table lamp, etc. without these adapters, our equipment ...
Posted by derrick24 on Wed, 16 Oct 2019 01:59:10 -0700
Hexo Next theme personalized configuration record (continuous update)
This article records Personal Blog websites Small blog The Next topic optimization process of is updated from time to time.
1. Add statistics function
Turn on busuanzi statistics function in themes/next/_config.yml
# Show Views / Visitors of the website / page with busuanzi.
# Get more information on ...
Posted by mcloan on Tue, 15 Oct 2019 08:25:12 -0700
ACL standard access control list
ACL Access Control List Structure Diagram
Objective of this chapter
Learn TCP and UDP protocolsOverview of access control list, how access control list worksType of access control list.Configuration of standard access control class tableCreate ACLApply ACLy to interfaceConfiguration instance of standard ACL
I. access control list (ACL)
2. ...
Posted by FUNKAM35 on Tue, 15 Oct 2019 06:25:40 -0700
Learning summary of pixi.js
I. Introduction to pixi.js
pixi.js is a very fast 2D sprite rendering engine. It can help us display, animate and manage interactive graphics. In this way, we can easily implement an application or complete a game using javascript and other HTML5 technologies. It has a semantic, concise API, and contains many useful functions. For example, it s ...
Posted by ternto333 on Tue, 15 Oct 2019 00:04:21 -0700
Java crawler server is blocked, don't panic, let's change a server
This is the fourth in a series of Java crawler blogs, in the last one Java crawler encounters data asynchronous loading, try these two methods! ) In this article, we have a brief talk about how to deal with the problem of asynchronous loading of data from the perspective of built-in browser kernel and reverse parsing. In this article, we will b ...
Posted by poknam on Mon, 14 Oct 2019 22:05:25 -0700
H5 Vertical Screen Tips
When making h5 display page, consider that many css styles will appear in the horizontal screen layout disorder, in order to prevent prompting users to display on the horizontal screen
demo introduction
When making h5 display page, consider that many css styles will appear in the horizontal screen layout disorder, in order to prevent prompting ...
Posted by mash on Mon, 14 Oct 2019 10:07:21 -0700