css-gencontent.json 6.9 KB

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