<?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>Adjacent Siblings</title>
	<atom:link href="http://www.adjacentsiblings.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adjacentsiblings.com/</link>
	<description>Adjacent Siblings</description>
	<lastBuildDate>Wed, 26 Jul 2023 17:56:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">59803237</site>	<item>
		<title>Perfecting those pixels</title>
		<link>http://www.adjacentsiblings.com/perfecting-those-pixels/</link>
					<comments>http://www.adjacentsiblings.com/perfecting-those-pixels/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Tue, 28 Jan 2014 20:53:16 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[extensions]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=209</guid>

					<description><![CDATA[<p>In my recent developing adventures, my adjacent sibling suggested I try out this Chrome Extension:&#160;PerfectPixel OddsMonkey free trialThis extension lets you overlay an image of your final site over the page rendered in the browser. For example, if you are working in Photoshop, save the whole page as a png/jpg, then use the extension and <a class="read-more" href="http://www.adjacentsiblings.com/perfecting-those-pixels/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/perfecting-those-pixels/">Perfecting those pixels</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In my recent developing adventures, my adjacent sibling suggested I try out this Chrome Extension:&nbsp;<a href="https://chrome.google.com/webstore/detail/perfectpixel-by-welldonec/dkaagdgjmgdmbnecmcefdhjekcoceebi?hl=en" target="_blank" rel="noopener">PerfectPixel</a></p>
<p><a style="text-decoration: none;" href="https://www.outlookindia.com/outlook-spotlight/matched-betting-uk-review-how-to-make-money-online-don-t-sign-up-until-you-read-this-news-301137"><span style="text-decoration: none; color: #fff; font-weight: normal; font-size: 1px;">OddsMonkey free trial</span></a>This extension lets you overlay an image of your final site over the page rendered in the browser. For example, if you are working in Photoshop, save the whole page as a png/jpg, then use the extension and load the image. You can then pick a reference point and see where you need adjustments. I use Developer Tools (F12) to edit and adjust, then make the changes in my code.</p>
<p>Really cool!</p>
<p>The post <a href="http://www.adjacentsiblings.com/perfecting-those-pixels/">Perfecting those pixels</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/perfecting-those-pixels/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">209</post-id>	</item>
		<item>
		<title>Photoshop Extension Love</title>
		<link>http://www.adjacentsiblings.com/photoshop-extension-love/</link>
					<comments>http://www.adjacentsiblings.com/photoshop-extension-love/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Sat, 30 Nov 2013 22:18:19 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=207</guid>

					<description><![CDATA[<p>Hi folks! Happy Holidays. I hope your Thanksgiving weekend was wonderful. I wanted to share with you something I found in my research for a big project I am working on. (I hope I can share with you soon!) In trying to find an easy way to convert a gradient from image to code, I <a class="read-more" href="http://www.adjacentsiblings.com/photoshop-extension-love/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/photoshop-extension-love/">Photoshop Extension Love</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi folks! Happy Holidays. I hope your Thanksgiving weekend was wonderful.</p>
<p>I wanted to share with you something I found in my research for a big project I am working on. <em>(I hope I can share with you soon!)</em></p>
<p>In trying to find an easy way to convert a gradient from image to code, I stumbled upon <a title="CSS3Ps" href="http://css3ps.com/" target="_blank">CSS3Ps</a></p>
<p>It is a wonderful time saver and the results are lovely.</p>
<p>Enjoy!</p>
<p><em><a href="http://css3ps.com/">http://css3ps.com/</a></em></p>
<p>The post <a href="http://www.adjacentsiblings.com/photoshop-extension-love/">Photoshop Extension Love</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/photoshop-extension-love/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">207</post-id>	</item>
		<item>
		<title>Speech Bubbles</title>
		<link>http://www.adjacentsiblings.com/speech-bubbles/</link>
					<comments>http://www.adjacentsiblings.com/speech-bubbles/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Sun, 24 Nov 2013 00:50:16 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=197</guid>

					<description><![CDATA[<p>In practice of positioning and also to use as reference later, I created some speech bubbles. Enjoy &#8211; Monica Speech bubble, top arrow Speech bubble, right arrow Speech bubble, down arrow Speech bubble, left arrow</p>
<p>The post <a href="http://www.adjacentsiblings.com/speech-bubbles/">Speech Bubbles</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In practice of positioning and also to use as reference later, I created some speech bubbles. Enjoy &#8211; Monica</p>
<p><a href="http://codepen.io/frogmcw/pen/JhrGu" target="_blank">Speech bubble, top arrow</a></p>
<p><a href="http://codepen.io/frogmcw/pen/JhrGu" target="_blank"><img decoding="async" class="alignnone size-medium wp-image-201" alt="top_arrow" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/top_arrow.png" width="244" height="71" /></a></p>
<p><a href="http://codepen.io/frogmcw/pen/tLECo" target="_blank">Speech bubble, right arrow</a></p>
<p><a style="color: #007ea6;" href="http://codepen.io/frogmcw/pen/tLECo" target="_blank"><img decoding="async" class="alignnone size-medium wp-image-200" alt="right_arrow" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/right_arrow.png" width="259" height="57" /></a></p>
<p><a href="http://codepen.io/frogmcw/pen/fuLEa" target="_blank">Speech bubble, down arrow</a></p>
<p><a style="color: #007ea6;" href="http://codepen.io/frogmcw/pen/fuLEa" target="_blank"><img decoding="async" class="alignnone size-full wp-image-198" alt="bottom_arrow" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/bottom_arrow.png" width="243" height="72" /></a></p>
<p><a href="http://codepen.io/frogmcw/pen/LkAjx" target="_blank">Speech bubble, left arro</a><a href="http://codepen.io/frogmcw/pen/LkAjx" target="_blank">w</a></p>
<p><a href="http://codepen.io/frogmcw/pen/LkAjx" target="_blank"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-199" alt="left_arrow" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/left_arrow.png" width="258" height="57" /></a></p>
<p>The post <a href="http://www.adjacentsiblings.com/speech-bubbles/">Speech Bubbles</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/speech-bubbles/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">197</post-id>	</item>
		<item>
		<title>Tetris &#038; The Power of CSS</title>
		<link>http://www.adjacentsiblings.com/tetris-the-power-of-css/</link>
					<comments>http://www.adjacentsiblings.com/tetris-the-power-of-css/#respond</comments>
		
		<dc:creator><![CDATA[Lynn Wloszek]]></dc:creator>
		<pubDate>Mon, 18 Nov 2013 17:46:23 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=186</guid>

					<description><![CDATA[<p>Tetris &#38; The Power of CSSAdjusting the last &#8220;orphan&#8221; block in a grid.  Very interesting read from Heydon Pickering.</p>
<p>The post <a href="http://www.adjacentsiblings.com/tetris-the-power-of-css/">Tetris &#038; The Power of CSS</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a title="Tetris &amp; The Power of CSS" href="http://www.heydonworks.com/article/tetris-the-power-of-css?utm_source=Adjacent_Siblings&#038;utm_medium=link">Tetris &amp; The Power of CSS</a><br />Adjusting the last &#8220;orphan&#8221; block in a grid.  Very interesting read from <a href="http://www.heydonworks.com/">Heydon Pickering</a>.</p>
<p>The post <a href="http://www.adjacentsiblings.com/tetris-the-power-of-css/">Tetris &#038; The Power of CSS</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/tetris-the-power-of-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">186</post-id>	</item>
		<item>
		<title>Look to the Sky &#8211; background-size and custom fonts</title>
		<link>http://www.adjacentsiblings.com/look-to-the-sky-background-size-and-custom-fonts/</link>
					<comments>http://www.adjacentsiblings.com/look-to-the-sky-background-size-and-custom-fonts/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Mon, 18 Nov 2013 02:02:04 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=155</guid>

					<description><![CDATA[<p>The background-size property is the primary focus of this exercise. I was inspired by the album cover from The Neighbourhood album I Love You. I was thinking it had a simple portfolio landing-page look, so I used it as my inspiration for this project. I used a great, large sky image that I optimized in Photoshop <a class="read-more" href="http://www.adjacentsiblings.com/look-to-the-sky-background-size-and-custom-fonts/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/look-to-the-sky-background-size-and-custom-fonts/">Look to the Sky &#8211; background-size and custom fonts</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The background-size property is the primary focus of this exercise. I was inspired by the album cover from <em>The Neighbourhood</em> album <em><a href="http://en.wikipedia.org/wiki/I_Love_You_(The_Neighbourhood_album)" target="_blank">I Love You</a>. </em>I was thinking it had a simple portfolio landing-page look, so I used it as my inspiration for this project.</p>
<p><a style="color: #007ea6;" href="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/sky_final.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-184" alt="sky_final" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/sky_final-300x192.png" width="300" height="192" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/11/sky_final-300x192.png 300w, http://www.adjacentsiblings.com/wp-content/uploads/2013/11/sky_final.png 843w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>I used a great, large sky <a href="https://creativemarket.com/DesignPanoply/537-Dramatic-Sky-Backgrounds-Pack-1" target="_blank">image</a> that I optimized in Photoshop and lovely icons from <a href="http://icomoon.io/app" target="_blank">IcoMoon</a>. I customized the icons used in this project to be entered as fonts. This will let me easily change the style (especially hover effects) on each of the icons.</p>
<p>Here is the HTML to start.</p>
<p><strong>HTML:<br />
</strong><code>&lt;ul&gt;<br />
&lt;li&gt;<br />
&lt;a class="icon earth" href="#"&gt;e&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;a class="icon heart" href="#"&gt;h&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;a class="icon gift" href="#"&gt;g&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p>Now that the HTML is setup, lets look at the CSS.</p>
<p>I am using a font import from IcoMoon in the CSS, which has fairly wide <a href="http://caniuse.com/fontface" target="_blank">support</a>, except for IE 8 and prior.</p>
<p>I&#8217;ll declare my custom font name and source by using @font-face.</p>
<p>CSS:<code><br />
@font-face {<br />
font-family: "Into Open";<br />
src: url('Into Open.ttf'),<br />
url('Into Open.eot');<br />
}</code></p>
<p>Then, I added the font-family to my links.</p>
<p>CSS:<code><br />
.earth,<br />
.heart,<br />
.gift {<br />
font-family: "Into Open";<br />
font-size: 4em;<br />
}</code></p>
<p>Then, I add the background using background-size with a value of cover. The value cover will make the background scale as it is resized. Set the following up and re-size your browser, pretty great!</p>
<p>CSS:<code><br />
html {<br />
background: url('imgs/sky.jpg') no-repeat center center fixed;<br />
-webkit-background-size: cover;<br />
-moz-background-size: cover;<br />
-o-background-size: cover;<br />
background-size: cover;<br />
}<br />
</code><br />
I used a general reset on this project and added a color to the links.</p>
<p>CSS:<code><br />
* {<br />
padding: 0;<br />
border: 0;<br />
outline: 0;<br />
margin: 0;<br />
}</code><br />
<code><br />
a {<br />
text-decoration: none;<br />
color: #999999;<br />
}</code><br />
<code><br />
li {<br />
list-style: none;<br />
}</code></p>
<p>Now, to position the icons. First, I made the three icons positioned absolutely to the document. And since positioned absolute, I set them 45% from the top.</p>
<p>CSS:<code><br />
.earth,<br />
.heart,<br />
.gift {<br />
position: absolute;<br />
top: 45%;</code></p>
<p>Next, I set each icon to be a percentage from the left.</p>
<p>CSS:<code><br />
.earth {<br />
left: 25%;<br />
}</code><br />
<code><br />
.heart {<br />
left: 50%;<br />
}</code><br />
<code><br />
.gift {<br />
left: 75%;<br />
}</code></p>
<p>The icons are positioned just how I would like, now to format the icons when hovered.</p>
<p>CSS:<code><br />
a:hover {<br />
color: #2c2c2c;<br />
}</code></p>
<p>I also went back to the link style and added a transition which it gives the hover a slower color change. Less snappy.</p>
<p>CSS:<code><br />
a {<br />
transition: .5s<br />
}</code></p>
<p>And that will do it for now. See you next time.</p>
<p>Live code to play:<br />
<a href="http://codepen.io/frogmcw/pen/Halgy" target="_blank">CodePen</a></p>
<p>References:<br />
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-size" target="_blank">MDN</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/look-to-the-sky-background-size-and-custom-fonts/">Look to the Sky &#8211; background-size and custom fonts</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/look-to-the-sky-background-size-and-custom-fonts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">155</post-id>	</item>
		<item>
		<title>Git, Thinking About It</title>
		<link>http://www.adjacentsiblings.com/git-thinking-about-it/</link>
					<comments>http://www.adjacentsiblings.com/git-thinking-about-it/#respond</comments>
		
		<dc:creator><![CDATA[Lynn Wloszek]]></dc:creator>
		<pubDate>Tue, 12 Nov 2013 20:59:33 +0000</pubDate>
				<category><![CDATA[Processes]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[vcs]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=170</guid>

					<description><![CDATA[<p>One of the things I found most frustrating about Git, the most popular of version control systems, was simply trying to understand what it was.  People would tell me about tagging, forking, merging, cloning, conflicts, branching&#8230; it was all very confusing.  I wish there was something out there that gave a &#8220;for Dummies&#8221; intro to <a class="read-more" href="http://www.adjacentsiblings.com/git-thinking-about-it/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/git-thinking-about-it/">Git, Thinking About It</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of the things I found most frustrating about Git, the most popular of version control systems, was simply trying to understand what it was.  People would tell me about tagging, forking, merging, cloning, conflicts, branching&#8230; it was all very confusing.  I wish there was something out there that gave a &#8220;for Dummies&#8221; intro to Git without getting into the nitty gritty.  No code, no diagrams, no confusing jargon.  Just the basics.</p>
<p>So, I wrote one.</p>
<p><strong>Git</strong>, simply, is a way to write code with others, without getting in anyone else&#8217;s way.</p>
<p>First, you have to grab the code you want to work with.  In the biz, this pile of code is called a repository, or <strong>repo</strong>.  To get your copy, you <b>clone</b> the repo.  And that&#8217;s exactly what you are doing; getting an exact copy of the code that you can alter on your own environment.</p>
<p>But what if you make changes to the same file someone else is in?  This will generate <strong>conflicts</strong>.  Oh no!</p>
<p>Git is smart enough to know this will happen.  Think, for a moment, about a dance.  Stepping on each other will happen.  Git allows you to gracefully handle those mistakes.  Instead of tumbling to the ground during your Brazilian Tango, you can stutter-step and continue on.  Git tells you about those conflicts and it will allow you to <strong>merge</strong> your file to the ones in the original pile of code.</p>
<p>Once you&#8217;ve made your corrections, your conflicts are resolved.  You can then <strong>commit</strong> your changes to the original pile of code.  Committing is like printing a shipping label: you haven&#8217;t sent it yet, but you&#8217;re ready! Once you commit your code, you have to <strong>push</strong> it out to the original pile of code.  That&#8217;s the equivalent of dropping that package in the mail box.</p>
<p>And really, that&#8217;s it.  That&#8217;s the worst of it.  You get some code, you change some code, and, if there are no problems, you send your changes back to the original.</p>
<p>There are, of course, more intricacies and nuances that I didn&#8217;t cover, but when you are starting with Git, that&#8217;s what you need to know.</p>
<p>The post <a href="http://www.adjacentsiblings.com/git-thinking-about-it/">Git, Thinking About It</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/git-thinking-about-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">170</post-id>	</item>
		<item>
		<title>Making a menu &#8211; Part III &#8211; Borders &#038; Box-shadow</title>
		<link>http://www.adjacentsiblings.com/making-a-menu-part-iii-borders-box-shadow/</link>
					<comments>http://www.adjacentsiblings.com/making-a-menu-part-iii-borders-box-shadow/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Mon, 04 Nov 2013 00:03:33 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=135</guid>

					<description><![CDATA[<p>In my third and final article, I am going to add the final touches to my menu. To recap: Part I &#8211; Building the menu Part II &#8211; Adding the gradient Part III &#8211; Border-radius, box-shadows, and final touches &#160; I am going to review the box-shadow and border-radius, then look at the final touches <a class="read-more" href="http://www.adjacentsiblings.com/making-a-menu-part-iii-borders-box-shadow/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/making-a-menu-part-iii-borders-box-shadow/">Making a menu &#8211; Part III &#8211; Borders &#038; Box-shadow</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In my third and final article, I am going to add the final touches to my menu. To recap:</p>
<p>Part I &#8211; Building the menu</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-121" alt="menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png" width="681" height="96" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png 681w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu-300x42.png 300w" sizes="auto, (max-width: 681px) 100vw, 681px" /></a></p>
<p>Part II &#8211; Adding the gradient</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-123" alt="gradient_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png" width="829" height="108" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu-300x39.png 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p>Part III &#8211; Border-radius, box-shadows, and final touches</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-138" alt="final_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg" width="829" height="185" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu-300x66.jpg 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p>&nbsp;</p>
<p>I am going to review the box-shadow and border-radius, then look at the final touches to polish up menu.</p>
<p>First, I added the border-radius and spaced the menu a bit further down the page to give me room to create the the box-shadow.</p>
<p><strong>CSS:</strong><br />
<code>border-radius: 10px;<br />
</code><code>margin: 40px auto;</code></p>
<p>Then, I added several box-shadows. The order in the code, top to bottom, displays on the page from the inside out. Note, that each shadow is separated by a comma. I left the box-shadow prefix free (<a href="http://css-tricks.com/do-we-need-box-shadow-prefixes" target="_blank">some commentary</a> on this).</p>
<p><strong>CSS:<br />
</strong><code>box-shadow: 0 0 10px #999999,<br />
0 0 0 10px #dedede,<br />
0 0 0 12px #ffffff,<br />
0 0 0 14px #999999,<br />
0 0 15px 16px #b3b3b3;</code></p>
<p>And that is giving us the basic menu we are looking for. Now, I will add some of the final touches.</p>
<p>I kept the drop-down separate from the styling above and just added a border-radius to keep with the theme.</p>
<p><strong>CSS:</strong><br />
<code>.nav li:hover ul {<br />
border-radius: 10px;<br />
}</code></p>
<p>I then added a bit more padding to the unordered lists.</p>
<p><strong>CSS:</strong><br />
<code>ul {<br />
padding: 15px;<br />
}</code></p>
<p>I noticed that the padding between list items was fine, except the first-child was double the padding. I went back and added an <em><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Adjacent_sibling_selectors" target="_blank">adjacent sibling</a> </em>selector for <code>.nav &gt; li</code> to correct the spacing issue.</p>
<p><strong>CSS:</strong><br />
<code>.nav &gt; li <strong>+ li</strong></code></p>
<p>I modified the color of the text when hovered:</p>
<p><strong>CSS:</strong><br />
<code>.nav a:hover {<br />
color: #000000;<br />
}</code></p>
<p><code></code>And the last polish item I added was text-shadow.</p>
<p><strong>CSS:</strong><code><br />
text-shadow: 0 1px #eeeeee;</code></p>
<p>Looks great! <a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-138" alt="final_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg" width="829" height="185" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu-300x66.jpg 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p>I had a lot of fun setting this up and I hope you enjoyed the process! Take a look at the <a href="http://codepen.io/frogmcw/pen/hqkto" target="_blank">Live Demo</a> and experiment with the colors of the box-shadow.</p>
<p>Thanks for tuning in and see you next time.</p>
<p>References:<br />
<a href="http://www.css3.info/preview/box-shadow/" target="_blank">CSS3.info<br />
</a><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow" target="_blank">MDN</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/making-a-menu-part-iii-borders-box-shadow/">Making a menu &#8211; Part III &#8211; Borders &#038; Box-shadow</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/making-a-menu-part-iii-borders-box-shadow/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">135</post-id>	</item>
		<item>
		<title>Making a Menu &#8211; Part II &#8211; Gradients</title>
		<link>http://www.adjacentsiblings.com/making-a-menu-part-ii-gradients/</link>
					<comments>http://www.adjacentsiblings.com/making-a-menu-part-ii-gradients/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Sat, 02 Nov 2013 01:04:28 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=118</guid>

					<description><![CDATA[<p>Hi there. This post is going to cover adding a gradient to our menu from Part I. This is what the final menu will look like after Part III: And here is what the gradient will look like added to my menu, after we wrap up Part II: A note about browser support: IE 10 <a class="read-more" href="http://www.adjacentsiblings.com/making-a-menu-part-ii-gradients/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/making-a-menu-part-ii-gradients/">Making a Menu &#8211; Part II &#8211; Gradients</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi there. This post is going to cover adding a gradient to our menu from <a title="Making a Menu – Part I – The Menu" href="http://www.adjacentsiblings.com/?p=98">Part I</a>.</p>
<p>This is what the final menu will look like after Part III:</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-138" alt="final_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg" width="829" height="185" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu-300x66.jpg 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p>And here is what the gradient will look like added to my menu, after we wrap up Part II:</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-123" alt="gradient_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png" width="829" height="108" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu-300x39.png 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p><em>A note about browser support: IE 10 and current versions of Chrome, Firefox, Safari, and Opera support CSS gradients. IE 9 and prior IE versions do not. To add gradients to prior IE versions, check out <a href="http://msdn.microsoft.com/en-us/library/ms532853(v=vs.85).aspx" target="_blank">filter</a>. </em></p>
<p>A couple of non-gradient style items:</p>
<p>I added a defined width to the menu because we are going to be looking at border-radius and box-shadows in Part III. I also centered the menu to be able to view it easier. I also added a bit of padding so the gradient fills the space.</p>
<p><strong>CSS:</strong><code><br />
.nav {<br />
width: 800px;<br />
margin: 0 auto;<br />
}<br />
</code></p>
<p><code> ul {<br />
padding: 5px;</code></p>
<p>For the gradients, first I set a fallback <code>background-color</code> (for older browsers and instead of using <code>filter</code> for IE). This is a color I am using in the gradient and will look just fine if gradient is not supported in the users browser.</p>
<p><strong>CSS:</strong><br />
<code>background-color: #dedede;</code></p>
<p>Now, I am going to add the color stops, or the colors that are going to show in my gradient. I just want two color stops, a light gray (#dedede) and a darker gray (#b3b3b3).</p>
<p>You can add as many colors as you need, the direction of the gradient, as well as the percentage of space each color occupies. These are separated by a comma. Also, keep in mind I am covering a basic linear-gradient here, but you can also use radial-gradient and repeating gradient as the need arises.</p>
<p><strong>CSS:</strong><code><br />
background-image: linear-gradient(#dedede, #b3b3b3)</code></p>
<p>But I cannot forget the vendor prefixes that will help my gradient look the way I intend, on older browsers.</p>
<p><strong>CSS:<br />
</strong><code>background-image: -webkit-linear-gradient (#dedede, #b3b3b3);<br />
background-image: -moz-linear-gradient (#dedede, #b3b3b3);<br />
background-image: -ms-linear-gradient (#dedede, #b3b3b3);<br />
background-image: -o-linear-gradient (#dedede, #b3b3b3);</code></p>
<p>And viola! Check out the live code <a href="http://codepen.io/frogmcw/pen/KkgrI" target="_blank">here</a>.</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-123" alt="gradient_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png" width="829" height="108" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu.png 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/gradient_menu-300x39.png 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p>I used several resources in building this article including:<br />
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/gradient" target="_blank">gradients on MDN</a><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient" target="_blank"><br />
</a><a href="http://www.colorzilla.com/gradient-editor/" target="_blank">gradient generator</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/making-a-menu-part-ii-gradients/">Making a Menu &#8211; Part II &#8211; Gradients</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/making-a-menu-part-ii-gradients/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">118</post-id>	</item>
		<item>
		<title>Making a Menu &#8211; Part I &#8211; The Menu</title>
		<link>http://www.adjacentsiblings.com/making-a-menu-part-i-the-menu/</link>
					<comments>http://www.adjacentsiblings.com/making-a-menu-part-i-the-menu/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Fri, 01 Nov 2013 00:07:36 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=98</guid>

					<description><![CDATA[<p>This starts my three part series of creating the following menu: My first post will be creating the basic menu, the next post will be adding in gradients, and the third and final post I will add border-radius and box-shadows, as well as some polish, to finish it up. Here we go! I am going <a class="read-more" href="http://www.adjacentsiblings.com/making-a-menu-part-i-the-menu/">[&#8230;]</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/making-a-menu-part-i-the-menu/">Making a Menu &#8211; Part I &#8211; The Menu</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This starts my three part series of creating the following menu:</p>
<p><a style="color: #007ea6;" href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-138" alt="final_menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg" width="829" height="185" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu.jpg 829w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/final_menu-300x66.jpg 300w" sizes="auto, (max-width: 829px) 100vw, 829px" /></a></p>
<p>My first post will be creating the basic menu, the next post will be adding in gradients, and the third and final post I will add border-radius and box-shadows, as well as some polish, to finish it up.</p>
<p>Here we go!</p>
<p>I am going to examine the building blocks of a simple menu. Including, making the menu horizontal, creating a hover effect that includes showing the nested <code>ul</code> (drop-down), changing the appearance of the menu, and looking at the other dynamic pseudo-classes.</p>
<p><a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-121" alt="menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png" width="681" height="96" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png 681w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu-300x42.png 300w" sizes="auto, (max-width: 681px) 100vw, 681px" /></a></p>
<p>Our basic HTML is as follows, a short list of menu items and one nested ul element that will be used to create a drop-down menu.</p>
<p><strong>HTML</strong>:</p>
<p><a href="http://codepen.io/frogmcw/pen/gxtpF" target="_blank"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-120" alt="html" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/html.png" width="125" height="149" /></a></p>
<p>Click the above image to view the markup, as well as follow along with the CSS below.</p>
<p>Now, lets get to styling the menu.</p>
<p>I started with the <code>a</code> element, removed the underline, made the text uppercase, set my font size and style, and defined the text color. When you are working through styling your menu, adjust this to your liking!</p>
<p><strong>CSS:</strong><br />
<code><br />
a {<br />
text-decoration: none;<br />
text-transform: uppercase;<br />
font: 24px "Avant Garde", Avantgarde, "Century Gothic",<br />
</code><code>CenturyGothic, "AppleGothic", sans-serif;<br />
</code><code>color: #666666;<br />
</code><code>}</code></p>
<p>For the <code>li</code> element, I removed the bullet points:<code><br />
li  {<br />
</code><code>list-style: none;</code><code><br />
</code></p>
<p>Since unordered list items are block elements, to create the horizontal menu, we will change the display property to inline.<code><br />
display: inline;<br />
</code><br />
My menu is starting to take shape. Now lets align the text:<br />
<code>.nav {<br />
text-align: center;<br />
}<br />
</code></p>
<p>Next, I set left padding to the list elements that are direct children (&gt;) of the <code>nav</code> class and have adjacent siblings (+):<code><br />
.nav &gt; li + li {<br />
padding-left: 25px;<br />
}</code></p>
<p>Now to start positioning. I made the list elements of  the <code>nav</code> class set to relative position. This is to use later for absolute positioning of the drop-down list.<br />
<code>.nav li {<br />
position: relative;<br />
}</code></p>
<p><code>.nav ul {<br />
position: absolute;</code></p>
<p>Now I can use the absolute positioning to my advantage and hide the nested list items. To do this, I used the left property.<br />
<em>Many <a href="http://css-tricks.com/places-its-tempting-to-use-display-none-but-dont/" target="_blank">articles</a> are published about why you should not use the <code>display: none</code> property, so I won&#8217;t rehash them here. I&#8217;m not using it.<br />
</em><code>left: -9999px;</code></p>
<p>Alright! The menu is looking pretty good.</p>
<p>Now I will use the following <code>hover</code> pseudo class to bring the nested ul back into view. This works by taking the unordered list and positioning it <code>left: 0;</code> when hovering on the <code>nav</code> class <code>li</code> element, bringing it back into view.<br />
<code>.nav li:hover ul {<br />
left: 0;<br />
}</code></p>
<p>Last, I will make the menu items respond when hovering by changing the color to the <code>a</code> tag.<br />
<code>.nav a:hover {<br />
color: #b3b3b3;<br />
}</code></p>
<p>There we have it! Next up, gradients.<br />
<a href="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-121" alt="menu" src="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png" width="681" height="96" srcset="http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu.png 681w, http://www.adjacentsiblings.com/wp-content/uploads/2013/10/menu-300x42.png 300w" sizes="auto, (max-width: 681px) 100vw, 681px" /></a></p>
<p>&nbsp;</p>
<p>Check out the code here: <a href="http://codepen.io/frogmcw/pen/ABqHI" target="_blank">Live Demo</a></p>
<p>The post <a href="http://www.adjacentsiblings.com/making-a-menu-part-i-the-menu/">Making a Menu &#8211; Part I &#8211; The Menu</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/making-a-menu-part-i-the-menu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">98</post-id>	</item>
		<item>
		<title>Coming soon&#8230;</title>
		<link>http://www.adjacentsiblings.com/coming-soon/</link>
					<comments>http://www.adjacentsiblings.com/coming-soon/#respond</comments>
		
		<dc:creator><![CDATA[Monica Vogler]]></dc:creator>
		<pubDate>Mon, 21 Oct 2013 02:22:33 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">http://www.adjacentsiblings.com/?p=89</guid>

					<description><![CDATA[<p>I am going to take a dive into border-radius, gradients, and menus. See you soon! &#8211; Monica I am going to attempt a layman&#8217;s description of block formatting context.  Woo! &#8211; Lynn</p>
<p>The post <a href="http://www.adjacentsiblings.com/coming-soon/">Coming soon&#8230;</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I am going to take a dive into border-radius, gradients, and menus. See you soon!</p>
<p>&#8211; <em>Monica</em></p>
<p>I am going to attempt a layman&#8217;s description of block formatting context.  Woo!</p>
<p>&#8211; <em>Lynn</em></p>
<p>The post <a href="http://www.adjacentsiblings.com/coming-soon/">Coming soon&#8230;</a> appeared first on <a href="http://www.adjacentsiblings.com">Adjacent Siblings</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.adjacentsiblings.com/coming-soon/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">89</post-id>	</item>
	</channel>
</rss>
