css-gencontent.json 6.5 KB

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