<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>devatrox &#187; &quot;css&quot; Tag-Archiv  &#8211; devatrox</title>
	<atom:link href="http://devatrox.de/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://devatrox.de</link>
	<description>Pixelschubsender Outdoor-Kaffeetrinker</description>
	<lastBuildDate>Tue, 23 Aug 2011 20:38:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<atom:link rel='hub' href='http://devatrox.de/?pushpress=hub'/>
		<item>
		<title>Animationen mit CSS3</title>
		<link>http://devatrox.de/animationen-mit-css3/</link>
		<comments>http://devatrox.de/animationen-mit-css3/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 21:05:50 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://devatrox.de/?p=1213</guid>
		<description><![CDATA[Ich bin ja ein großer Fan von CSS3. So sieht mein Header-Schriftzug jetzt aus (nur für Webkit-Browser):
h1 a {
	-webkit-animation-name: colorChange;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-animation-duration: 7s;
}
@-webkit-keyframes colorChange {
	0% { color:#911; }
	33% { color:#1a1; }
	66% { color:#09e; }
	100% { color:#911; }
}
Klein, aber fein.
Weiß jemand wie man Animationen für den :hover quasi pausieren kann und dafür eine feste Farbe nehmen? ...]]></description>
			<content:encoded><![CDATA[<p>Ich bin ja ein großer Fan von CSS3. So sieht mein Header-Schriftzug jetzt aus (nur für Webkit-Browser):</p>
<pre class="prettyprint lang-css"><code>h1 a {
	-webkit-animation-name: colorChange;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-animation-duration: 7s;
}
@-webkit-keyframes colorChange {
	0% { color:#911; }
	33% { color:#1a1; }
	66% { color:#09e; }
	100% { color:#911; }
}</code></pre>
<p>Klein, aber fein.</p>
<p>Weiß jemand wie man Animationen für den <code>:hover</code> quasi pausieren kann und dafür eine feste Farbe nehmen? Ein einfaches <code>color:wieauchimmer</code> scheint nämlich nicht zu reagieren und man muss auf andere visuelle Mittel zurückgreifen um das Mouse-Over zu signalisieren. Oder man erstellt quasi eine neue Animation, ohne Animation eben. Aber das gefällt mir so garnicht. Vorschläge erwünscht.</p>
<p>Man stößt ja des öfteren auf so kleine Macken bei der Nutzung von CSS3. Der <code>animation</code>-Shorthand will noch nicht so recht wie ich will. Und <code>border-color</code> in Verbindung mit <code>border-radius</code>, <code>gradient</code> und <code>box-shadow</code> auf einem Haufen (hat jetzt nichts mit diesem Beispiel zu tun) sieht echt unschön aus. Bei mir jedenfalls. Ich würde mir außerdem wünschen <code>gradient</code> auf Text anwenden zu können, ohne irgendwelche Workarounds. Aber das ist ja alles noch nicht fertig und wird sicher noch behoben.</p>
<p><strong>Merke:</strong> Nur weil es CSS3 ist, werden Animationen nicht unbedingt besser. <span class="schwirr">Rumschwirrendes</span> <span class="bling">Bling-Bling</span> bleibt auch weiterhin nervig, wenn es falsch angewendet wird. Wir kennen das aus GIF-Zeiten.</p>]]></content:encoded>
			<wfw:commentRss>http://devatrox.de/animationen-mit-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 Button</title>
		<link>http://devatrox.de/css3-button/</link>
		<comments>http://devatrox.de/css3-button/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 12:14:23 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://devatrox.de/?p=1184</guid>
		<description><![CDATA[Wen es interessiert und wer sich nicht durch mein Stylesheet wurschteln will, meine Buttons hier im Blog sehen so aus:
input[type=submit] {
	width:auto;
	text-shadow:0 1px 0 #fff;
	padding:.2em .7em;
	border:1px solid #ddd;
	border-bottom-color:#ccc;
	border-top-color:#eee;
	border-radius:1em/2em;
	-moz-border-radius:1em/2em;
	-webkit-border-radius:1em 2em;
	background:#fff;
	background:-moz-linear-gradient(top,#fff,#ddd);
	background:-webkit-gradient(linear, 0 top, 0 bottom, from(#fff), to(#ddd));
	box-shadow:0 1px 3px rgba(0,0,0,.1);
	-moz-box-shadow:0 1px 3px rgba(0,0,0,.1);
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);
}
input[type=submit]:hover, input[type=submit]:focus {
	cursor:default;
	color:#911;
	box-shadow:0 1px 3px rgba(0,0,0,.2);
	-moz-box-shadow:0 1px 3px rgba(0,0,0,.2);
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);
}
input[type=submit]:active {
	box-shadow:0 ...]]></description>
			<content:encoded><![CDATA[<p>Wen es interessiert und wer sich nicht durch mein Stylesheet wurschteln will, meine Buttons hier im Blog sehen so aus:</p>
<pre class="prettyprint lang-css"><code>input[type=submit] {
	width:auto;
	text-shadow:0 1px 0 #fff;
	padding:.2em .7em;
	border:1px solid #ddd;
	border-bottom-color:#ccc;
	border-top-color:#eee;
	border-radius:1em/2em;
	-moz-border-radius:1em/2em;
	-webkit-border-radius:1em 2em;
	background:#fff;
	background:-moz-linear-gradient(top,#fff,#ddd);
	background:-webkit-gradient(linear, 0 top, 0 bottom, from(#fff), to(#ddd));
	box-shadow:0 1px 3px rgba(0,0,0,.1);
	-moz-box-shadow:0 1px 3px rgba(0,0,0,.1);
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);
}
input[type=submit]:hover, input[type=submit]:focus {
	cursor:default;
	color:#911;
	box-shadow:0 1px 3px rgba(0,0,0,.2);
	-moz-box-shadow:0 1px 3px rgba(0,0,0,.2);
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);
}
input[type=submit]:active {
	box-shadow:0 1px 3px rgba(0,0,0,.1);
	-moz-box-shadow:0 1px 3px rgba(0,0,0,.1);
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);
}</code></pre>
<p>Hier können wir so einen Button bei der Nahrungssuche beobachten:</p>
<input type="submit" value="Button" />
<p>Und hier eine Großaufnahme, wie ihn Chrome 5 unter Windows sieht:</p>
<p><img class="alignnone size-full wp-image-1190" title="CSS3 Button" src="http://devatrox.de/wp-content/uploads/2010/03/css3button.jpg" alt="CSS3 Button" width="224" height="82" /></p>
<p>Es macht Spaß so zu arbeiten. IE6 bekommt durch die Nicht-Unterstützung von Attribut-Selektoren einen Standardbutton hingerotzt. IE7 und 8 ein eckiges weißes Ding. Opera fehlt nur noch die <code>gradient</code>-Unterstützung. Die Syntax des <code>-webkit-gradient</code> ist total unausgereift und lang. Mozillas Version gefällt mir als Minimalist und Code-Komprimierer dagegen außerordentlich gut.</p>
<hr />
<p>Vielleicht schreibe ich ab jetzt weiter über solche Dinge. Da kenne ich mich wenigstens mit aus und kann öfter mal was bringen. Eventuell packe ich das irgendwann auch in eine Extra-Kategorie. Aber auch meine 2-3 Stammgäste, die mit solchen Themen nichts anfangen können, bekommen noch was zu lesen. Dieses Jahr noch, versprochen.</p>]]></content:encoded>
			<wfw:commentRss>http://devatrox.de/css3-button/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS: Smooth Fonts unter Windows (Update)</title>
		<link>http://devatrox.de/css-smooth-fonts-unter-windows/</link>
		<comments>http://devatrox.de/css-smooth-fonts-unter-windows/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 17:40:40 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://devatrox.de/?p=1059</guid>
		<description><![CDATA[Da experimentiert man so vor sich hin und bemerkt plötzlich, dass bei der Nutzung von text-shadow die Schrift auch unter Windows, wie von Zauberhand so schön geglättet aussieht, wie auf dem Mac. &#8222;Hm&#8220;, dachte ich mir, &#8222;aber was wenn man keinen Schatten will, aber trotzdem den Effekt?&#8220;. Nichts leichter als das! Einfach den Schatten mit ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1070" src="http://devatrox.de/wp-content/uploads/2010/03/smoothfont.jpg" alt="Smooth Font" width="119" height="133" />Da experimentiert man so vor sich hin und bemerkt plötzlich, dass bei der Nutzung von <code>text-shadow</code> die Schrift auch unter Windows, wie von Zauberhand so schön geglättet aussieht, wie auf dem Mac. &#8222;Hm&#8220;, dachte ich mir, &#8222;aber was wenn man keinen Schatten will, aber trotzdem den Effekt?&#8220;. Nichts leichter als das! Einfach den Schatten mit <del datetime="2010-03-06T17:49:04+00:00"><code>rgba</code></del> <ins datetime="2010-03-06T17:49:04+00:00"><code>transparent</code></ins> unsichtbar machen: <code>text-shadow:transparent 0 0 1px;</code> (dieses 1px muss aber bleiben, damit das ganze aktiv wird).</p>
<p>&#8222;Toll&#8220;, dachte ich mir dann, &#8222;hab ich endlich mal was entdeckt&#8220; (man stelle sich die Eingangsszene aus &#8222;2001&#8243; vor), aber eben lese ich zufällig den Post auf CreativityDen, über <a href="http://blog.creativityden.com/welcome-to-the-new-creativityden/">sein neues Blog-Theme</a>, der diese Methode so ganz flapsig nebenbei in einem Satz erwähnt und ich war wieder nur zweiter (oder dritter oder vierter).</p>
<p>Was soll&#8217;s. Wichtig ist, dass ich sie alleine entdeckt habe und mein Blog dadurch für uns Windows-User ein kleines Optik-Update bekommen hat. Und wer das nicht sieht, hat wohl ClearType im System deaktiviert.</p>
<p><ins datetime="2010-03-06T18:21:19+00:00"><strong>Update:</strong> War ja klar, Firefox interessiert das nicht die Bohne. Dann müsst ihr halt auf <a href="http://www.google.de/chrome/">Chrome</a> wechseln. Ist sowieso besser.</ins></p>]]></content:encoded>
			<wfw:commentRss>http://devatrox.de/css-smooth-fonts-unter-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
