Skip to content

Commit adb6e84

Browse files
committed
fix(web-programming-cheat-sheet): added new tags and css selectors
1 parent a216bc2 commit adb6e84

1 file changed

Lines changed: 130 additions & 1 deletion

File tree

data/web-programming.json

Lines changed: 130 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
{
118118
"code": "<i>"
119119
},
120+
{
121+
"code": "<em>"
122+
},
120123
{
121124
"code": "<u>"
122125
},
@@ -225,7 +228,7 @@
225228
"code": "onClick"
226229
},
227230
{
228-
"code": "onDbclick"
231+
"code": "onDblclick"
229232
},
230233
{
231234
"code": "onMousedown"
@@ -275,6 +278,117 @@
275278
},
276279
{
277280
"code": "#id"
281+
},
282+
{
283+
"code": ".class1.class2"
284+
},
285+
{
286+
"code": "div > div"
287+
},
288+
{
289+
"code": "div ~ div"
290+
},
291+
{
292+
"code": "div + div"
293+
},
294+
{
295+
"code": "[target]"
296+
},
297+
{
298+
"code": "[target=_blank]"
299+
},
300+
{
301+
"code": "[title~=flower]"
302+
},
303+
{
304+
"code": "[lang|=en]"
305+
},
306+
{
307+
"code": "a[href^='http://']"
308+
},
309+
{
310+
"code": "a[href$='.jpg']"
311+
},
312+
{
313+
"code": "a[href*=devsonket]"
314+
},
315+
{
316+
"code": "div:first-child"
317+
},
318+
{
319+
"code": "div:last-child"
320+
},
321+
{
322+
"code": "div:only-child"
323+
},
324+
{
325+
"code": "div:nth-child(n)"
326+
},
327+
{
328+
"code": "div:nth-last-child(n)"
329+
},
330+
{
331+
"code": "div:first-of-type"
332+
},
333+
{
334+
"code": "div:last-of-type"
335+
},
336+
{
337+
"code": "div:only-of-type"
338+
},
339+
{
340+
"code": "div:nth-of-type(n)"
341+
},
342+
{
343+
"code": "div:nth-last-of-type(n)"
344+
},
345+
{
346+
"code": "div:empty"
347+
},
348+
{
349+
"code": "div:link"
350+
},
351+
{
352+
"code": "div:visited"
353+
},
354+
{
355+
"code": "div:active"
356+
},
357+
{
358+
"code": "div:hover"
359+
},
360+
{
361+
"code": "div:focus"
362+
},
363+
{
364+
"code": "div:target"
365+
},
366+
{
367+
"code": "div:lang(language)"
368+
},
369+
{
370+
"code": "div:enabled"
371+
},
372+
{
373+
"code": "div:disabled"
374+
},
375+
{
376+
"code": "div:checked"
377+
},
378+
{
379+
"code": "div:not(selector)"
380+
},
381+
{
382+
"code": "div:root"
383+
},
384+
{
385+
"code": "div:nth-child(n)"
386+
},
387+
{
388+
"code": "div:nth-last-child(n)"
389+
},
390+
{
391+
"code": "div:nth-last-of-type(n)"
278392
}
279393
]
280394
},
@@ -347,6 +461,21 @@
347461
},
348462
{
349463
"code": "box-shadow"
464+
},
465+
{
466+
"code": "padding"
467+
},
468+
{
469+
"code": "padding-top"
470+
},
471+
{
472+
"code": "padding-left"
473+
},
474+
{
475+
"code": "padding-right"
476+
},
477+
{
478+
"code": "padding-bottom"
350479
}
351480
]
352481
},

0 commit comments

Comments
 (0)