123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- {
- "title":"rem (root em) units",
- "description":"Type of unit similar to `em`, but relative only to the root element, not any parent element. Thus compounding does not occur as it does with `em` units.",
- "spec":"http://www.w3.org/TR/css3-values/#font-relative-lengths",
- "status":"cr",
- "links":[
- {
- "url":"http://snook.ca/archives/html_and_css/font-size-with-rem",
- "title":"Article on usage"
- },
- {
- "url":"https://github.com/chuckcarpenter/REM-unit-polyfill",
- "title":"REM Polyfill"
- }
- ],
- "bugs":[
- {
- "description":"IE 9, 10 and 11 do not support rem units when used in the \"line-height\" property when used on :before and :after pseudo elements (https://connect.microsoft.com/IE/feedback/details/776744)."
- },
- {
- "description":"Borders sized in \"rem\" disappear when the page is zoomed out in Chrome."
- },
- {
- "description":"Reportedly does not work on Android 4.3 browser for Samsung Note II or the Samsung Galaxy Tab 2 on Android 4.2."
- },
- {
- "description":"Chrome 31-34 & Chrome-based Android versions (like 4.4) [have a font size bug](https://code.google.com/p/chromium/issues/detail?id=319623) that occurs when the root element has a percentage-based size."
- },
- {
- "description":"Causes content display and scrolling issues on iPhone 4 which typically has Safari 5.1."
- }
- ],
- "categories":[
- "CSS3"
- ],
- "stats":{
- "ie":{
- "5.5":"n",
- "6":"n",
- "7":"n",
- "8":"n",
- "9":"a #1",
- "10":"a #1",
- "11":"y"
- },
- "edge":{
- "12":"y",
- "13":"y",
- "14":"y"
- },
- "firefox":{
- "2":"n",
- "3":"n",
- "3.5":"n",
- "3.6":"y",
- "4":"y",
- "5":"y",
- "6":"y",
- "7":"y",
- "8":"y",
- "9":"y",
- "10":"y",
- "11":"y",
- "12":"y",
- "13":"y",
- "14":"y",
- "15":"y",
- "16":"y",
- "17":"y",
- "18":"y",
- "19":"y",
- "20":"y",
- "21":"y",
- "22":"y",
- "23":"y",
- "24":"y",
- "25":"y",
- "26":"y",
- "27":"y",
- "28":"y",
- "29":"y",
- "30":"y",
- "31":"y",
- "32":"y",
- "33":"y",
- "34":"y",
- "35":"y",
- "36":"y",
- "37":"y",
- "38":"y",
- "39":"y",
- "40":"y",
- "41":"y",
- "42":"y",
- "43":"y",
- "44":"y",
- "45":"y",
- "46":"y",
- "47":"y",
- "48":"y",
- "49":"y",
- "50":"y",
- "51":"y",
- "52":"y",
- "53":"y"
- },
- "chrome":{
- "4":"y",
- "5":"y",
- "6":"y",
- "7":"y",
- "8":"y",
- "9":"y",
- "10":"y",
- "11":"y",
- "12":"y",
- "13":"y",
- "14":"y",
- "15":"y",
- "16":"y",
- "17":"y",
- "18":"y",
- "19":"y",
- "20":"y",
- "21":"y",
- "22":"y",
- "23":"y",
- "24":"y",
- "25":"y",
- "26":"y",
- "27":"y",
- "28":"y",
- "29":"y",
- "30":"y",
- "31":"y",
- "32":"y",
- "33":"y",
- "34":"y",
- "35":"y",
- "36":"y",
- "37":"y",
- "38":"y",
- "39":"y",
- "40":"y",
- "41":"y",
- "42":"y",
- "43":"y",
- "44":"y",
- "45":"y",
- "46":"y",
- "47":"y",
- "48":"y",
- "49":"y",
- "50":"y",
- "51":"y",
- "52":"y",
- "53":"y",
- "54":"y",
- "55":"y",
- "56":"y",
- "57":"y"
- },
- "safari":{
- "3.1":"n",
- "3.2":"n",
- "4":"n",
- "5":"y",
- "5.1":"y",
- "6":"y",
- "6.1":"y",
- "7":"y",
- "7.1":"y",
- "8":"y",
- "9":"y",
- "9.1":"y",
- "10":"y",
- "TP":"y"
- },
- "opera":{
- "9":"n",
- "9.5-9.6":"n",
- "10.0-10.1":"n",
- "10.5":"n",
- "10.6":"n",
- "11":"n",
- "11.1":"n",
- "11.5":"n",
- "11.6":"y",
- "12":"y",
- "12.1":"y",
- "15":"y",
- "16":"y",
- "17":"y",
- "18":"y",
- "19":"y",
- "20":"y",
- "21":"y",
- "22":"y",
- "23":"y",
- "24":"y",
- "25":"y",
- "26":"y",
- "27":"y",
- "28":"y",
- "29":"y",
- "30":"y",
- "31":"y",
- "32":"y",
- "33":"y",
- "34":"y",
- "35":"y",
- "36":"y",
- "37":"y",
- "38":"y",
- "39":"y",
- "40":"y",
- "41":"y",
- "42":"y",
- "43":"y"
- },
- "ios_saf":{
- "3.2":"n",
- "4.0-4.1":"y",
- "4.2-4.3":"y",
- "5.0-5.1":"a #2",
- "6.0-6.1":"y",
- "7.0-7.1":"y",
- "8":"y",
- "8.1-8.4":"y",
- "9.0-9.2":"y",
- "9.3":"y",
- "10-10.1":"y"
- },
- "op_mini":{
- "all":"y"
- },
- "android":{
- "2.1":"y",
- "2.2":"y",
- "2.3":"y",
- "3":"y",
- "4":"y",
- "4.1":"y",
- "4.2-4.3":"y",
- "4.4":"y",
- "4.4.3-4.4.4":"y",
- "53":"y"
- },
- "bb":{
- "7":"y",
- "10":"y"
- },
- "op_mob":{
- "10":"n",
- "11":"n",
- "11.1":"n",
- "11.5":"n",
- "12":"y",
- "12.1":"y",
- "37":"y"
- },
- "and_chr":{
- "54":"y"
- },
- "and_ff":{
- "50":"y"
- },
- "ie_mob":{
- "10":"y",
- "11":"y"
- },
- "and_uc":{
- "11":"y"
- },
- "samsung":{
- "4":"y"
- }
- },
- "notes":"",
- "notes_by_num":{
- "1":"IE 9 & IE 10 do not support `rem` units when used in the `font` shorthand property (the entire declaration is ignored) or when used on pseudo elements.",
- "2":"iOS Safari 5.0-5.1 support `rem` but not in combination with media queries."
- },
- "usage_perc_y":97.01,
- "usage_perc_a":0.52,
- "ucprefix":false,
- "parent":"",
- "keywords":"rems",
- "ie_id":"",
- "chrome_id":"",
- "firefox_id":"",
- "webkit_id":"",
- "shown":true
- }
|