{"id":1849,"date":"2016-04-17T17:15:27","date_gmt":"2016-04-17T15:15:27","guid":{"rendered":"http:\/\/blogg.improveme.se\/lolla\/?p=1849"},"modified":"2016-04-17T17:15:27","modified_gmt":"2016-04-17T15:15:27","slug":"filter-och-css","status":"publish","type":"post","link":"https:\/\/blogg.improveme.se\/lolla\/2016\/04\/17\/filter-och-css\/","title":{"rendered":"Filter och CSS."},"content":{"rendered":"<div style=\"color: #404040\">Detta avsnitt kallas filter och fokuserar p\u00e5 vad man kan \u00e5stadkomma f\u00f6r filter-effekter p\u00e5 texten. Jag ger f\u00f6rst ett exempel p\u00e5 filter-effekten och sedan vilken kod som kr\u00e4vs f\u00f6r att uppn\u00e5 respektive effekt.<\/p>\n<p><strong>Gl\u00f6d\/Glow Gl\u00f6d<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n{<br \/>\nfont-family: Verdana, &#8217;Times New Roman&#8217;, &#8217;Sans-Serif&#8217;;<br \/>\nfont-style: italic;<br \/>\nfont-size: 10pt;<br \/>\nfont-weight: bold;<br \/>\ncolor: #000000;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Gl\u00f6d<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 35px;<br \/>\ncolor: #ffffff;<br \/>\nfilter: Glow(Color=ff6900, Strength=3);<br \/>\nwidth: 300px;<br \/>\nheight: 65px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Skugga\/Shadow Skugga<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 35px;<br \/>\ncolor: #ffffff;<br \/>\nfilter: Glow(Color=ff6900, Strength=3);<br \/>\nwidth: 300px;<br \/>\nheight: 65px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Droppskugga<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 35px;<br \/>\ncolor: #004080;<br \/>\nfilter: DropShadow(Color=0099cc, OffX=4, OffY=4, Positive=0);<br \/>\nwidth: 300px;<br \/>\nheight: 65px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Suddigt\/Blur<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 35px;<br \/>\nfont-weight: bold;<br \/>\ncolor: #004080;<br \/>\nfilter: Blur(Add=1, Direction=130, Strength=8);<br \/>\nwidth: 300px;<br \/>\nheight: 65px;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Suddigt<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 35px;<br \/>\nfont-weight: bold;<br \/>\ncolor: #004080;<br \/>\nfilter: Blur(Add=1, Direction=0, Strength=13);<br \/>\nwidth: 300px;<br \/>\nheight: 65px;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Flipp\/Flip<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 25px;<br \/>\ncolor: #004080;<br \/>\nfilter: FlipV;<br \/>\nwidth: 300px;<br \/>\nheight: 65px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Flip<\/strong><em><br \/>\nKoden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 25px;<br \/>\ncolor: #004080;<br \/>\nfilter: FlipH;<br \/>\nwidth: 200px;<br \/>\nheight: 65px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Toning\/Alpha<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 65px;<br \/>\ncolor: #004080;<br \/>\nfilter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=50, StartY=50, FinishX=0, FinishY=100);<br \/>\nwidth: 300px;<br \/>\nheight: 110px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>Toning<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 65px;<br \/>\ncolor: #004080;<br \/>\nfilter: Alpha(Opacity=100, FinishOpacity=0, Style=2);<br \/>\nwidth: 300px;<br \/>\nheight: 100px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>V\u00e5gor\/Wave<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 65px;<br \/>\nfilter: Wave(Add=1, Freq=6, LightStrength=4, Phase=5, Strength=4);<br \/>\ncolor: #004080;<br \/>\nwidth: 300px;<br \/>\nheight: 100px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p>\n<\/div>\n<hr style=\"color: #404040\" \/>\n<div style=\"color: #404040\">\n<strong>V\u00e5gor<\/strong><br \/>\n<em>Koden till ovanst\u00e5ende:<\/em><br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<\/p>\n<p>&lt;!&#8211;<br \/>\n.box {<br \/>\nfont-size: 65px;<br \/>\nfilter: Wave(Add=0, Freq=6, LightStrength=3, Phase=7, Strength=4);<br \/>\ncolor: #004080;<br \/>\nwidth: 300px;<br \/>\nheight: 100px;<br \/>\nfont-weight: bold;<br \/>\n}<br \/>\n&#8211;&gt;<\/p>\n<p>&lt;\/style&gt;<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Detta avsnitt kallas filter och fokuserar p\u00e5 vad man kan \u00e5stadkomma f\u00f6r filter-effekter p\u00e5 texten. Jag ger f\u00f6rst ett exempel p\u00e5 filter-effekten och sedan vilken kod som kr\u00e4vs f\u00f6r att uppn\u00e5 respektive effekt. Gl\u00f6d\/Glow Gl\u00f6d Koden till ovanst\u00e5ende: &lt;style type=&#8221;text\/css&#8221;&gt; &lt;!&#8211; { font-family: Verdana, &#8217;Times New Roman&#8217;, &#8217;Sans-Serif&#8217;; font-style: italic; font-size: 10pt; font-weight: bold; color: &#8230; <a title=\"Filter och CSS.\" class=\"read-more\" href=\"https:\/\/blogg.improveme.se\/lolla\/2016\/04\/17\/filter-och-css\/\" aria-label=\"L\u00e4s mer om Filter och CSS.\">L\u00e4s mer<\/a><\/p>\n","protected":false},"author":9652,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[81,2010,2009],"class_list":["post-1849","post","type-post","status-publish","format-standard","hentry","category-design-och-html","tag-bloggar","tag-css","tag-filter"],"_links":{"self":[{"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/posts\/1849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/users\/9652"}],"replies":[{"embeddable":true,"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/comments?post=1849"}],"version-history":[{"count":0,"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/posts\/1849\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/media?parent=1849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/categories?post=1849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogg.improveme.se\/lolla\/wp-json\/wp\/v2\/tags?post=1849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}