Posts Tagged "cross-browser"

Cross-browser CSS box-shadow

Yet another quick CSS reminder, this time for cross-browser CSS box-shadow: .box-shadow {   -moz-box-shadow: 10px 10px 10px #000; /* Firefox */   -webkit-box-shadow: 10px 10px 10px #000; /* Safari, Chrome */   box-shadow: 10px 10px 10px #000; /* CSS3 */ } However, all modern browsers now support box-shadow. So if you are using up to date version of Firefox, Safari or Chrome, it’s enough to…

Cross-browser box-sizing CSS code

This is a quick reminder for cross-browser box-sizing CSS code… textarea { -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ } Simply copy and paste the box-sizing CSS…


IT Support Newcastle is brought to you by Transcendit Ltd, contact us on 0191 482 0444