Prevent users from using the browser js write "! Important" in the style tag properties
We use jQuery css to set the time
$('#text').css('height', '200px !important');
Discovery did not set up, using native methods
document.getElementById('text').style.height = '200px !important';
It is not set. And the province is set at the highest level on style. Use "! Important" is not desirable, this will only stifle the availability of the site
Using IE in progid: DXImageTransform.Microsoft.Gradien
filter: progid: DXImageTransform.Microsoft.Gradient (Enabled = bEnabled, startColorStr = iWidth, endColorStr = iWidth)
properties:
Enabled: optional. Boolean value (Boolean). Search filter installed or is activated. to true | false
to true: default. Filter activated.
false: filters are disabled.
startColorStr: Optional. String (String). Color and transparency settings or begin retrieving color gradient.
The format is #AARRGGBB. AA, RR, GG, BB hexadecimal positive integer. In the range of 00 - FF. RR specified red value, GG designated green value, BB blue specified value, refer #RRGGBB color units. AA specify transparency. 00 is completely transparent. FF is fully opaque. Value is outside the range will be restored to their default values.
The range of # FF000000 - #FFFFFFFF. The default value is # FF0000FF. Opaque blue.
EndColorStr: Optional. String (String). Sets or retrieves the end of the color and transparency of the color gradient. See startColorStr property. The default value is # FF000000. Opaque black.
vertical-align the Detailed
With following these articles, you will be able to read in order to understand the deep.
Baseline and x-height element: https://www.zhangxinxu.com/wordpress/2015/06/about-letter-x-of-css/
The basic syntax of exemplary vertical-align: https://developer.mozilla.org/zh-CN/docs/Web/CSS/vertical-align
Detailed vertical-align: https://segmentfault.com/a/1190000002668492
display: flex relevant attributes
align-content difference and align-items in the form of a single shaft, a multi-axis style
1px problem on the PC
1px more common problem of mobile terminals, there are many programs, such as the
In the pc side, will not have a normal desktop default zoom, but notebooks usually have the default zoom, as
div border as 1px, wrapped inside a picture (the same width and div), the case (the default recommended 125% zoom) in the part of the computer, border and actually have some pictures gap.
Div style elements: border: 1px solid # d9d9d9; in the case of 125% zoom, border pixel display is still physically 1px, but the hide processing overflow of Shique think div border accounted for two physical pixels, directly img partially hidden.
Simple solution: border can be set to 0.5px.
===================================
Back continuously updated