What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-03-01 10:05:01
css how to remember psudoelements vs pesudo classes
/* Pseudo classes: • Selects actual elements (e.g. p or div) • Based on some condition that is probably not part of the HTML DOM • e.g if the user is hovering over it (:hover) • But sometimes it is stuff that woul... Add solution -
Other 2022-02-02 17:30:44
z-index stacking context
in CSS/HTML, A stacking context is a 3D conceptualisation of an element. This can be a root stacking context, as created by the html element. Or it can be a local stacking context, as created by specific properties and values. Rules: What creates a st... Add solution -
CSS 2022-01-31 11:21:05
CSS add bullets in html manual
/* Manually Add Bullets to Elements in HTML Page*/ ul{ position: relative; } ul li{ list-style: none; } ul li::after{ content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background-color: #f00; top: ... Add solution -
Javascript 2021-11-17 11:01:16
splice(index, 1);
let myFish = ['angel', 'clown', 'mandarin', 'sturgeon'] //insert new element into array at index 2 let removed = myFish.splice(2, 0, 'drum') // myFish is ["angel", "clown", "drum", "mandarin", "sturgeon"]... Add solution -
CSS 2021-11-14 04:28:12
opacity css element showing through
Opacity Affects Stacking Order Consider the following HTML snippet: <div class="wrapper tweak"> <div class="overlay"> <p>The Overlay Panel</p> </div> <div class="content"... Add solution
Best helpers
Mikemay
+5
Stobor
+5
Tilak De
+5
John wilson
+5
Vishnu Nair
+5
Martinako
+5
Jay Cossey
+5
Panky1986
+5
Thiagoh
+5