If you're a web developer, you'll use CSS all the time to style your sites and make them attractive.
So you may as well get the most out of it and learn all its tricks.
In this article Gert shares 10 helpful CSS hacks every web developer should know.
https://t.co/yBWLscsvq8
2. When you work with transparent images you can use the `drop-shadow()` filter function to create a shadow on the image's content, instead of `box-shadow` property which creates a rectangular shadow behind an element's entire box:
filter: drop-shadow(2px 4px 8px #585858);
3. Typing Effect
Did you know that you can create a typing effect with zero JavaScript?
Check this demo to see it in action, and to check the code:
https://t.co/tas3oFiqWJ
@aDevCalledBravo @js_tut Actually this makes running Js code easier, as errors messages are raised, the line number are identified as well as the file that contains the error. Or you can use strict mode in J's by typing "use strict" in your file...... @aDevCalledBravo
@aDevCalledBravo @js_tut Hi if your issue is due to JS not raising errors on your window page when you err in your code, type this code at the beginning of your J's code.
window.onerror = function (msg, url, line){
alert( "MESSAGE = " + msg + "\nURL = " + "\nLINE = " + line
return true }
Useful websites for web developers.
1. cleanpng. com
For transparent png images for your websites.
2. cssgr. id
For rapid CSS grid layout.
3. 1loc. dev
Favourite JavaScript single line code.
4. colorsandfonts. com
Color and typography Tools for web developer.