css-gencontent.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. {
  2. "title":"CSS Generated content for pseudo-elements",
  3. "description":"Method of displaying text or images before or after the given element's contents using the ::before and ::after pseudo-elements. All browsers with support also support the `attr()` notation in the `content` property. ",
  4. "spec":"http://www.w3.org/TR/CSS21/generate.html",
  5. "status":"rec",
  6. "links":[
  7. {
  8. "url":"http://www.westciv.com/style_master/academy/css_tutorial/advanced/generated_content.html",
  9. "title":"Guide on usage"
  10. },
  11. {
  12. "url":"https://dev.opera.com/articles/view/css-generated-content-techniques/",
  13. "title":"Dev.Opera article"
  14. },
  15. {
  16. "url":"http://docs.webplatform.org/wiki/css/generated_and_replaced_content",
  17. "title":"WebPlatform Docs"
  18. }
  19. ],
  20. "bugs":[
  21. {
  22. "description":"Chrome supports CSS transitions on generated content as of v. 26. Safari v6 and below do not support transitions or animations on pseudo elements."
  23. },
  24. {
  25. "description":"IE9, IE10, IE11 ignore CSS rem units in the line-height property. [Bug report](https://connect.microsoft.com/IE/feedback/details/776744/css3-using-rem-to-set-line-height-in-before-after-pseudo-elements-doesnt-work)."
  26. },
  27. {
  28. "description":"Firefox does not support `:after` and `:before` for input fields"
  29. }
  30. ],
  31. "categories":[
  32. "CSS2",
  33. "CSS3"
  34. ],
  35. "stats":{
  36. "ie":{
  37. "5.5":"n",
  38. "6":"n",
  39. "7":"n",
  40. "8":"a #1",
  41. "9":"y",
  42. "10":"y",
  43. "11":"y"
  44. },
  45. "edge":{
  46. "12":"y",
  47. "13":"y",
  48. "14":"y",
  49. "15":"y"
  50. },
  51. "firefox":{
  52. "2":"y",
  53. "3":"y",
  54. "3.5":"y",
  55. "3.6":"y",
  56. "4":"y",
  57. "5":"y",
  58. "6":"y",
  59. "7":"y",
  60. "8":"y",
  61. "9":"y",
  62. "10":"y",
  63. "11":"y",
  64. "12":"y",
  65. "13":"y",
  66. "14":"y",
  67. "15":"y",
  68. "16":"y",
  69. "17":"y",
  70. "18":"y",
  71. "19":"y",
  72. "20":"y",
  73. "21":"y",
  74. "22":"y",
  75. "23":"y",
  76. "24":"y",
  77. "25":"y",
  78. "26":"y",
  79. "27":"y",
  80. "28":"y",
  81. "29":"y",
  82. "30":"y",
  83. "31":"y",
  84. "32":"y",
  85. "33":"y",
  86. "34":"y",
  87. "35":"y",
  88. "36":"y",
  89. "37":"y",
  90. "38":"y",
  91. "39":"y",
  92. "40":"y",
  93. "41":"y",
  94. "42":"y",
  95. "43":"y",
  96. "44":"y",
  97. "45":"y",
  98. "46":"y",
  99. "47":"y",
  100. "48":"y",
  101. "49":"y",
  102. "50":"y",
  103. "51":"y",
  104. "52":"y",
  105. "53":"y"
  106. },
  107. "chrome":{
  108. "4":"y",
  109. "5":"y",
  110. "6":"y",
  111. "7":"y",
  112. "8":"y",
  113. "9":"y",
  114. "10":"y",
  115. "11":"y",
  116. "12":"y",
  117. "13":"y",
  118. "14":"y",
  119. "15":"y",
  120. "16":"y",
  121. "17":"y",
  122. "18":"y",
  123. "19":"y",
  124. "20":"y",
  125. "21":"y",
  126. "22":"y",
  127. "23":"y",
  128. "24":"y",
  129. "25":"y",
  130. "26":"y",
  131. "27":"y",
  132. "28":"y",
  133. "29":"y",
  134. "30":"y",
  135. "31":"y",
  136. "32":"y",
  137. "33":"y",
  138. "34":"y",
  139. "35":"y",
  140. "36":"y",
  141. "37":"y",
  142. "38":"y",
  143. "39":"y",
  144. "40":"y",
  145. "41":"y",
  146. "42":"y",
  147. "43":"y",
  148. "44":"y",
  149. "45":"y",
  150. "46":"y",
  151. "47":"y",
  152. "48":"y",
  153. "49":"y",
  154. "50":"y",
  155. "51":"y",
  156. "52":"y",
  157. "53":"y",
  158. "54":"y",
  159. "55":"y",
  160. "56":"y",
  161. "57":"y",
  162. "58":"y"
  163. },
  164. "safari":{
  165. "3.1":"y",
  166. "3.2":"y",
  167. "4":"y",
  168. "5":"y",
  169. "5.1":"y",
  170. "6":"y",
  171. "6.1":"y",
  172. "7":"y",
  173. "7.1":"y",
  174. "8":"y",
  175. "9":"y",
  176. "9.1":"y",
  177. "10":"y",
  178. "TP":"y"
  179. },
  180. "opera":{
  181. "9":"y",
  182. "9.5-9.6":"y",
  183. "10.0-10.1":"y",
  184. "10.5":"y",
  185. "10.6":"y",
  186. "11":"y",
  187. "11.1":"y",
  188. "11.5":"y",
  189. "11.6":"y",
  190. "12":"y",
  191. "12.1":"y",
  192. "15":"y",
  193. "16":"y",
  194. "17":"y",
  195. "18":"y",
  196. "19":"y",
  197. "20":"y",
  198. "21":"y",
  199. "22":"y",
  200. "23":"y",
  201. "24":"y",
  202. "25":"y",
  203. "26":"y",
  204. "27":"y",
  205. "28":"y",
  206. "29":"y",
  207. "30":"y",
  208. "31":"y",
  209. "32":"y",
  210. "33":"y",
  211. "34":"y",
  212. "35":"y",
  213. "36":"y",
  214. "37":"y",
  215. "38":"y",
  216. "39":"y",
  217. "40":"y",
  218. "41":"y",
  219. "42":"y",
  220. "43":"y",
  221. "44":"y"
  222. },
  223. "ios_saf":{
  224. "3.2":"y",
  225. "4.0-4.1":"y",
  226. "4.2-4.3":"y",
  227. "5.0-5.1":"y",
  228. "6.0-6.1":"y",
  229. "7.0-7.1":"y",
  230. "8":"y",
  231. "8.1-8.4":"y",
  232. "9.0-9.2":"y",
  233. "9.3":"y",
  234. "10-10.1":"y"
  235. },
  236. "op_mini":{
  237. "all":"y"
  238. },
  239. "android":{
  240. "2.1":"y",
  241. "2.2":"y",
  242. "2.3":"y",
  243. "3":"y",
  244. "4":"y",
  245. "4.1":"y",
  246. "4.2-4.3":"y",
  247. "4.4":"y",
  248. "4.4.3-4.4.4":"y",
  249. "53":"y"
  250. },
  251. "bb":{
  252. "7":"y",
  253. "10":"y"
  254. },
  255. "op_mob":{
  256. "10":"y",
  257. "11":"y",
  258. "11.1":"y",
  259. "11.5":"y",
  260. "12":"y",
  261. "12.1":"y",
  262. "37":"y"
  263. },
  264. "and_chr":{
  265. "55":"y"
  266. },
  267. "and_ff":{
  268. "50":"y"
  269. },
  270. "ie_mob":{
  271. "10":"y",
  272. "11":"y"
  273. },
  274. "and_uc":{
  275. "11":"y"
  276. },
  277. "samsung":{
  278. "4":"y"
  279. }
  280. },
  281. "notes":"For content to appear in pseudo-elements, the `content` property must be set (but may be an empty string).",
  282. "notes_by_num":{
  283. "1":"IE8 only supports the single-colon CSS 2.1 syntax (i.e. :pseudo-class). It does not support the double-colon CSS3 syntax (i.e. ::pseudo-element)."
  284. },
  285. "usage_perc_y":97.72,
  286. "usage_perc_a":0.42,
  287. "ucprefix":false,
  288. "parent":"",
  289. "keywords":"before,after",
  290. "ie_id":"",
  291. "chrome_id":"",
  292. "firefox_id":"",
  293. "webkit_id":"",
  294. "shown":true
  295. }