css-gencontent.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. },
  50. "firefox":{
  51. "2":"y",
  52. "3":"y",
  53. "3.5":"y",
  54. "3.6":"y",
  55. "4":"y",
  56. "5":"y",
  57. "6":"y",
  58. "7":"y",
  59. "8":"y",
  60. "9":"y",
  61. "10":"y",
  62. "11":"y",
  63. "12":"y",
  64. "13":"y",
  65. "14":"y",
  66. "15":"y",
  67. "16":"y",
  68. "17":"y",
  69. "18":"y",
  70. "19":"y",
  71. "20":"y",
  72. "21":"y",
  73. "22":"y",
  74. "23":"y",
  75. "24":"y",
  76. "25":"y",
  77. "26":"y",
  78. "27":"y",
  79. "28":"y",
  80. "29":"y",
  81. "30":"y",
  82. "31":"y",
  83. "32":"y",
  84. "33":"y",
  85. "34":"y",
  86. "35":"y",
  87. "36":"y",
  88. "37":"y",
  89. "38":"y",
  90. "39":"y",
  91. "40":"y",
  92. "41":"y",
  93. "42":"y",
  94. "43":"y",
  95. "44":"y",
  96. "45":"y",
  97. "46":"y",
  98. "47":"y",
  99. "48":"y",
  100. "49":"y",
  101. "50":"y",
  102. "51":"y",
  103. "52":"y",
  104. "53":"y"
  105. },
  106. "chrome":{
  107. "4":"y",
  108. "5":"y",
  109. "6":"y",
  110. "7":"y",
  111. "8":"y",
  112. "9":"y",
  113. "10":"y",
  114. "11":"y",
  115. "12":"y",
  116. "13":"y",
  117. "14":"y",
  118. "15":"y",
  119. "16":"y",
  120. "17":"y",
  121. "18":"y",
  122. "19":"y",
  123. "20":"y",
  124. "21":"y",
  125. "22":"y",
  126. "23":"y",
  127. "24":"y",
  128. "25":"y",
  129. "26":"y",
  130. "27":"y",
  131. "28":"y",
  132. "29":"y",
  133. "30":"y",
  134. "31":"y",
  135. "32":"y",
  136. "33":"y",
  137. "34":"y",
  138. "35":"y",
  139. "36":"y",
  140. "37":"y",
  141. "38":"y",
  142. "39":"y",
  143. "40":"y",
  144. "41":"y",
  145. "42":"y",
  146. "43":"y",
  147. "44":"y",
  148. "45":"y",
  149. "46":"y",
  150. "47":"y",
  151. "48":"y",
  152. "49":"y",
  153. "50":"y",
  154. "51":"y",
  155. "52":"y",
  156. "53":"y",
  157. "54":"y",
  158. "55":"y",
  159. "56":"y",
  160. "57":"y"
  161. },
  162. "safari":{
  163. "3.1":"y",
  164. "3.2":"y",
  165. "4":"y",
  166. "5":"y",
  167. "5.1":"y",
  168. "6":"y",
  169. "6.1":"y",
  170. "7":"y",
  171. "7.1":"y",
  172. "8":"y",
  173. "9":"y",
  174. "9.1":"y",
  175. "10":"y",
  176. "TP":"y"
  177. },
  178. "opera":{
  179. "9":"y",
  180. "9.5-9.6":"y",
  181. "10.0-10.1":"y",
  182. "10.5":"y",
  183. "10.6":"y",
  184. "11":"y",
  185. "11.1":"y",
  186. "11.5":"y",
  187. "11.6":"y",
  188. "12":"y",
  189. "12.1":"y",
  190. "15":"y",
  191. "16":"y",
  192. "17":"y",
  193. "18":"y",
  194. "19":"y",
  195. "20":"y",
  196. "21":"y",
  197. "22":"y",
  198. "23":"y",
  199. "24":"y",
  200. "25":"y",
  201. "26":"y",
  202. "27":"y",
  203. "28":"y",
  204. "29":"y",
  205. "30":"y",
  206. "31":"y",
  207. "32":"y",
  208. "33":"y",
  209. "34":"y",
  210. "35":"y",
  211. "36":"y",
  212. "37":"y",
  213. "38":"y",
  214. "39":"y",
  215. "40":"y",
  216. "41":"y",
  217. "42":"y",
  218. "43":"y"
  219. },
  220. "ios_saf":{
  221. "3.2":"y",
  222. "4.0-4.1":"y",
  223. "4.2-4.3":"y",
  224. "5.0-5.1":"y",
  225. "6.0-6.1":"y",
  226. "7.0-7.1":"y",
  227. "8":"y",
  228. "8.1-8.4":"y",
  229. "9.0-9.2":"y",
  230. "9.3":"y",
  231. "10-10.1":"y"
  232. },
  233. "op_mini":{
  234. "all":"y"
  235. },
  236. "android":{
  237. "2.1":"y",
  238. "2.2":"y",
  239. "2.3":"y",
  240. "3":"y",
  241. "4":"y",
  242. "4.1":"y",
  243. "4.2-4.3":"y",
  244. "4.4":"y",
  245. "4.4.3-4.4.4":"y",
  246. "53":"y"
  247. },
  248. "bb":{
  249. "7":"y",
  250. "10":"y"
  251. },
  252. "op_mob":{
  253. "10":"y",
  254. "11":"y",
  255. "11.1":"y",
  256. "11.5":"y",
  257. "12":"y",
  258. "12.1":"y",
  259. "37":"y"
  260. },
  261. "and_chr":{
  262. "54":"y"
  263. },
  264. "and_ff":{
  265. "50":"y"
  266. },
  267. "ie_mob":{
  268. "10":"y",
  269. "11":"y"
  270. },
  271. "and_uc":{
  272. "11":"y"
  273. },
  274. "samsung":{
  275. "4":"y"
  276. }
  277. },
  278. "notes":"For content to appear in pseudo-elements, the `content` property must be set (but may be an empty string).",
  279. "notes_by_num":{
  280. "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)."
  281. },
  282. "usage_perc_y":97.69,
  283. "usage_perc_a":0.39,
  284. "ucprefix":false,
  285. "parent":"",
  286. "keywords":"before,after",
  287. "ie_id":"",
  288. "chrome_id":"",
  289. "firefox_id":"",
  290. "webkit_id":"",
  291. "shown":true
  292. }