Desaturating a color image couldn’t be simpler with CSS3. We’ll apply the filter as a class, as you’d typically desire several images to be affected by the code at the same time:
img.desaturate { filter: grayscale(100%); }
Naturally, all current browsers implement CSS3 filters via vendor prefixes, so our first job is to insert that code, writing in CSS that does not yet exist in order to future-proof our work:
img.desaturate { filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: grayscale(100%);
}
Applying the class to the image is easy:
互聯網時代,品牌的推廣與傳播渠道可以說是多種多樣,但是要想達到有效的傳播效果,投放廣告的策略與方案就變得尤為重要。隨著房地產行業的快速發展,房產項目的廣告投放也成……
領凡微信大屏幕 微信大屏幕,也稱微信墻,是在會議、婚禮、公關活動、展會展覽等現場活動上展示微信特定主題信息的大屏幕,是一種現場活動上的社交應用。大屏幕上可以同步顯示……
……
即將或正在被互聯網席卷的農村網民,會催生傳統領域新機會嗎? 從2011年之后,互聯網在中國農村中的普及速度開始超越城鎮,結束了城鄉互聯網普及差距持續擴大的趨勢,互聯網經濟……
和一同行談論關于SEO博客原創文章的問題,他問我如何看待一些SEO博客每天更新原創文章的做法?他說:一個人的思想是有限的,每天絞盡腦汁的去挖掘一些所謂的原創出來似乎真的很勉……
中小企業沒有大企業雄厚的資源,無法在傳統營銷方式上一擲千金,所以小企業更要靈活應變,揚長避短,改變自己的營銷策略。現在互聯網發展迅速且 技術穩定,小企業可以通過互聯……