I often encounter people asking what is the CSS hack? I saw a good article today, share it here
Simply put, css hack refers to the handling of compatibility bugs (such as we often say dislocation) of web page content after CSS interpretation between browsers of different versions and brands .
Because the kernel of each browser is different, it will cause some errors. Just like JS, a JS web page special effect is effective in Microsoft IE6, IE7, IE8 browsers, but may be invalid in Mozilla Firefox (Mozilla Firefox) Google browser, so that It is called JS hack, so for CSS, they solve the difference between different browsers' interpretation of CSS. Different browsers make different CSS style settings to solve these problems, which is called CSS Hack.
- • DIV CSS failed to load (visited 6349 times)
- • The difference between CSS hacks written in different browsers (visited 21312 times)
- • CSS hack to distinguish IE8 browser (visited 12395 times)
- • IE's if conditional css hack (visited 7251 times)
- • Compatibility problem of garbled CSS invalid webpage
- • DIV CSS width calculation for CSS webpage dislocation (visited 13528 times)
- • CSS webkit core browser for Google Chrome (Chrome) safari (visited 11926 times)
- • How to solve the background opacity of PNG images in IE6_Solve the PNG back in IE6 (visited 34540 times)
- • CSS hack compatibility chart of each browser and system platform (visited 7673 times)
- • CSS Hack summary quick check (CSS compatible code demo) (visited 12173 times)
- • Summary table of CSS hacks commonly used in various browsers under Windows system (visited 11418 times)
- • IE6, IE7, IE8, Firefox compatibility CSS HACK code + example (visited 50403 times)
- • CSS if condition hack (visited 16639 times)
- • Solve the experience of IE9 supporting CSS Chinese fonts (visited 6374 times)
- • IE6 png image transparent solution tutorial (visited 10953 times)
- • Solution to the cause of dislocation of DIV+CSS webpage (visited 13916 times)
- • Application Encyclopedia of CSS hack special symbols (6870 visits)
- • The div+css layout page is not centered in Google Chrome (visited 7069 times)
- • IE6不支持hover赋予css样式的解决方法 如div:hover li:hover支持(被访问 14739 次)
- • css+div网页布局常见错误总汇(被访问 8418 次)
- • ie9字体不能垂直居中 ie9 line-height失效兼容问题解决篇(被访问 7978 次)
- • DIV半透明层 CSS来实现网页背景半透明(被访问 55926 次)
- • CSS禁止Chrome谷歌浏览器激活输入框后自动添加橘黄色边框(被访问 6786 次)
- • div css每行文字显示一半 同时文字字体重叠显示不全解决方法(被访问 5668 次)
- • div css最后一排文字字体显示一半显示不全(被访问 8399 次)