A CSS framework is usually just a collection of CSS files that include basic layouts, form styles, grids or simple structures, and style resets.
What is a CSS frame
Actually, let's start with the framework.The framework is a basic conceptual structure that you can use for your site project.
A CSS framework is usually just a collection of CSS files that include basic layouts, form styles, grids or simple structures, and style resets. Like what:
TYPOGRAPHY.CSS Basic Typesetting rules
G
browser to use
Whether the Browse window is maximized
Enable additional components of a placeholder browser (such as history, bookmarks, Google Toolbar, and so on)
Even operating system and hardware conditions
As there is no standard page size, web designers need to solve countless problems when they work.
1. The difference between fixed layout and Flow layout
Although most designers and developers have a basic understanding of fixed and mobile web layouts , we have a simple con
produce a large number of duplicate values, you can consider taking the sentence apart. The disassembled clause should contain an index.optimization principle of SQL 2:1. Use smaller data types whenever possible to meet your needs: for example, using mediumint instead of int2, try to set all the columns to NOT NULL, if you want to save null, manually set it, rather than set it as the default value.3. Use varchar, TEXT, blob type as little as possible4. If your data is only a few of the few you
records:Query when not indexed:SQL statement A: select * from users where username like ‘%许%‘; 8 queries in Mysql-front: 1.40,0.54,0.54,0.54,0.53,0.55,0.54 960 records foundSQL Statement B: select * from users where username like ‘许%‘; 8 queries in Mysql-front: 0.53,0.53,0.53,0.54,0.53,0.53,0.54,0.54 836 Records foundSQL statement C: select * from users where username like ‘%许‘; 8 queries in Mysql-front: 0.51,0.51,0.52,0.52,0.51,0.51,0.52,0.51 7 Reco
The distance from the previous blog has been nearly a year, did not write what one is because has been too busy, another is not know what to write, or to do game projects, but from the hand Tawaaf to the HTML5 game, continue to use cocos2d, the language changed to JS.Not much to catch up, this simple cocos2d-js the adaptation of the problem, the previous project (mobile QQ space to play the "Dot Meng Meng Xiao", Welcome to try ^_^) did not consider the resolution of the problem, the direct use o
Before I write this article, I have to introduce a few things:1th: What is displayed above the screen is independent of the size of the screen2nd: What is displayed above the screen is completely independent of the resolution3rd: What is displayed above the screen is irrelevant to screen size, screen resolution, PPI, etc.So what is it that affects how much of the content is displayed on the screen? In Apple's iOS device, that is the number of points (PT) points on the screen, point is an absolut
like '% ';The length of 8 queries in Mysql-Front is 1.40, 0.54, 0.54, 0.54, 0.53, 0.55, 0.54, and 960. A total of records are found.SQL statement B: Select * from users where username like 'Xu % ';The maximum query time in Mysql-Front is 0.53, 0.53, 0.53, 0.54, 0.53, 0.53, 0.54, 0.54, and 836. A total of records are found.SQL statement C:Select * from users where username like '% Xu ';The length of 8 queries in Mysql-Front is 0.51, 0.51, 0.52, 0.52,
index is added, perform the following query:SQL statement:Code:Copy codeThe Code is as follows:Select * from users where username like '% '; The length of 8 queries in Mysql-Front is 1.40, 0.54, 0.54, 0.54, 0.53, 0.55, 0.54, and 960. A total of records are found.SQL statement B:Code:Copy codeThe Code is as follows:Select * from users where username like 'Xu % '; The maximum query time in Mysql-Front is 0.53, 0.53, 0.53, 0.54, 0.53, 0.53, 0.54, 0.54,
directory according to the density of mobile phone resources, such as 408*800 resolution of the phone if the density is 160, then automatically load drawable-hdpi This directory icon, if 720* 1280 density is 240 of the mobile phone automatically loaded drawable-xhdpi the icon under this directory. If there is no this folder, then find and 240 the closest corresponding density folder. 5) Other next estimates will let you down, according to the above steps can not completely solve the problem of
of the cut graph and then press twice magnification of the icon on this phone to display the effect is still smaller than the actual. The other problem is 540*960 or 640*960, whose density is likely to be either near or . The actual size shown on these phones may also be large or small, as a result of the drawings cut down on the 480*800 design and the adaptations made. To sum up, I just share my unde
), for example, the phone has a lot of small. The resolutionpolicy::show_all parameter in the back means that the original scale (480/320) is scaled to fit the actual screen of the device. setframesize (480,) sets the screen size of the device we expect, which is the size of the application window.Here are a few contrast charts to deepen your understanding.1, this is the original image size, the window size is 480 * 320.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/45/C8/wKiom1Pr
worksheets to invalidate indexes. If a large number of duplicate values are not generated, consider splitting the clause. The split clause should contain the index.
6. Use a smaller data type as much as possible to meet your needs: for example, use MEDIUMINT instead of INT.
7. Try to set all columns as not null. If you want to save NULL, set it manually instead of setting it as the default value.
8. Use VARCHAR, TEXT, and BLOB types as little as possible
9. If your data is only a small amount o
of mobile phone resources, such as 408*800 resolution of the phone if the density is 160, then automatically load drawable-hdpi This directory icon, if 720* 1280 density is 240 of the mobile phone automatically loaded drawable-xhdpi the icon under this directory. If there is no this folder, then find and 240 the closest corresponding density folder. 5) Other next estimates will let you down, according to the above steps can not completely solve the problem of adaptation, can only be approximate
The coordinates obtained in unity are the lower left corner (0,0)But the painting is in the upper left corner (0,0)So it is not possible to draw directly on the coordinates obtained ...?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
using UnityEngine; using System.Collections;public class MultiTouch : MonoBehaviour { public Texture2D imageBG; public Texture2D imageItem; void OnGUI() { GUI.DrawTexture(new Rect(0,0,640,9
power of jquery for superior performance and ease of use. All WIJMO components are equipped with more than 20 themes and support Themeroller.8.960 Grid on Jquery-mobilejquery-mobile-960 is a grid framework for mobile WEB development that combines the flexibility of 960.gs with the convenience of JQuery Mobile. Its purpose is to make the JQuery mobile layout more flexible, making application promises easier
Development, for example: Nanshanimage.image=[uiimage imagenamed:@ ' index_pic.png ');In the project also saved in [email protected] picture, this figure in order to only adapt to 960*640 resolution of the phoneNote: To adapt to the Iphone5 of the relevant picture size, but also add @2x.png. Like the Welcome interface: [email protected];And Index_pic.png is adapted to 640*320 's mobile phone, but in the code must be written in [UIImage imagenamed:@ '
For different Apple devices, see IOS: Model parameters, SDK, Xcode versions for each of the parameters.model ChangesCoordinates: Indicates the physical size of the screen, the coordinates become larger, indicating that the machine screen size has become larger;Pixels: Indicates the size of the screen picture, with a correspondence between coordinates, such as 1:1 or 1:2, etc.;PPI: A scale value representing the physical size of the screen to the size of the picture, and the scale of the coordina
first step: Create the COCOS2D-JS project and copy the resource Res published by Cocos Studio to the Res folder of the project or directly to the project's Res folder.
PS: When you create a project, the resolution defaults to 640 x 960, and the direction is selected vertically.
Step Two: Modify the Project.json file and add the Cocostudio in the modules. Add Frameanimationscene.js and Resource.js to Jslist. The specific code is as follo
iphoneos use This picture if 320x320) file icon.
Default.png
(w) x 480 (h)
iphone/ipod 2, 3 portrait start picture
[Email protected]
640 (W) x 960 (h)
IPhone 4 High Definition portrait boot image
default~ipad.png
768 (w) x 1024x768 (h)
ipad. Specify portrait-initiated picture . If there is no more specific picture we use this boot image (768x1024)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.