Inline-block and white space in the grid
Searching for a long time and finally found the following: /** * [1] Reset the font-size to the root/default size. * Note: […]
Searching for a long time and finally found the following: /** * [1] Reset the font-size to the root/default size. * Note: […]
The only solution I found is the following CSS style: #rc-imageselect, .g-recaptcha { @media screen and (max-height: 600px) { transform: scale(0.95); transform-origin: […]
Let’s say you want to make all first letters of element with class big-title into red JS window.onload = function(){ var elements […]
input:-webkit-autofill { box-shadow: 0 0 0 1000px #fff inset !important; }
Your HTML markup <div class=”holder”> <img src=”http://lorempixel.com/500/500/sports/”/> <div class=”radial”></div> </div> Your CSS .holder { width: 500px; height: 500px; position: relative; } .radial […]
Let’s say you need a burger button to toggle your primary menu which as the class primary-menu The HTML markup <span class=”menu-toggle” […]
img.grayscale { filter: url(“data:image/svg+xml;utf8,<svg xmlns=\’http://www.w3.org/2000/svg\’><filter id=\’grayscale\’><feColorMatrix type=\’matrix\’ values=\’0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 […]
My favorite box shadow for overlays is box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .2); See example in codepen: http://codepen.io/rizopoulos/pen/YqoaXe
Div with transparent background The div that has the background and the opacity needs to be positioned absolute with lower z-index that […]
Applying a very large border radius work on many browsers (IE9+, FF, Chrome) border-radius: 300px; Special thanks to Paris Kapsouros Example in […]
If you want to align a div vertically center and you don’t know its height use the below code: .element { position: […]
Create a circle and animate it forever! .cirlce { border: 1px solid #777; border-radius: 100%; height: 30px; width: 30px; background-color: #eee; animation: […]