Apr 30, 2012

Heading in the style of arrows Adobe.com

Filled under: ,

arrows Adobe com
 This lesson is published today Chris Coyier, and we could not leave it undetected. The method described in it, you can apply cool, not only as the title of a section or article, but also in the band "bread crumbs". We have translated it by adding some of the comments made by readers of CSS-Tricks. Chris liked here these arrows on the site header socket Adobe:

headings in the style of the arrows

Panel titles consist of two parts. In the left contains the inscription is, and the right - a reference to the relevant section or resource. Now let's look at how it was done. First, there is used nespraytovoe image:

CSS Tricks

This means an additional request to the HTTP-alone titles. And, even worse, for: hover-effect of using a separate image. Therefore, a further HTTP-request to load the second image at a time when you are summing the first mouse to the title.

We can do all this without any images. This is how it will look:
CSS Tricks1

The demo and source files from Chris.

Layout header is only a name with a link:
HTML
<div class="module">
  <h2>Community <a href="#">Blue</a></h2>
  <!-- stuff in module -->
</div>
But the basic style for the title, with reference to the right, the original color of the white line and the line defined by border:

CSS
.module h2 {
background: #ccc;
padding: 0 0 0 10px;
font-size: 16px;
/* Thickness of the bar more easily achieved with line-height
  since padding would push link inward.  */
line-height: 2;
}
.module h2 a {
float: right;
position: relative;
text-decoration: none;
color: #333;
padding: 0 10px;
border-left: 5px solid white;
}

Now you only do on-line corner of the arrow, using the method described in the article, CSS triangles,whose essence is that we create a region with zero height and width, and the actual size is the width border. Thus, in our case, the right border is painted, and the upper and lower - clear, get a triangle.The only amendment to that article is that instead of transparent should apply the value of rgba (0,0,0,0), otherwise we will have a problem with anti-aliasing in Firefox. The fact that transparent - it's like rgba (0,0,0,0), that is, transparent black, we finally get ugly gray streaks that are visible in Firefox.We also need to specify the value of rgba (255,255,255,0), that is, transparent white, and everything goes. Apply using the ubiquitous pseudo-elements

CSS Tricks tips

CSS

.module h2 a:before,
.module h2 a:after {
content: "";
position: absolute;
/* Pushed down half way, will get pulled back up half height of triangle
  ensures centering if font-size or line-height changes */
top: 50%;
width: 0;
height: 0;
}
.module h2 a:before {
left: -12px;
/* Triangle */
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-right: 8px solid white;
/* Pull-up */
margin-top: -8px;
}
.module h2 a:after {
/* Smaller and different position triangle */
left: -5px;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 6px solid #a2d6eb;
margin-top: -6px;
}

The main difference between our titles from the source with Adobe is that those diagonally imposed gradient. In our case this is not possible, because you can not create a gradient with the help of our CSS-method. But even this does not mean that it is impossible to apply the gradient above and below the triangle, just make sure that in places touching the fill color of the triangle has been uniform.

CSS Tricks gradients.

Another display option on the gradient of such a link-arrow gives us Enrique Moreno. In his method, you can bring up the gradient and the triangle:

On the demo page , Chris added options with multiple colors and different transition, which, incidentally, will not work properly in Opera as well as examples of stylish two-layer triangle marker on the left of the title - again, looking much prettier in Firefox Opera because of the soft smoothing its borders, as we wrote in the article How browsers render different values ​​of CSS border-style

Much here we must refine "a file" for specific purposes. Still, we hope this article will come in handy at work, or come across a new design ideas. The original can be found on the CSS tricks

Posted By Unknown1:18 PM

Different Values CSS Border Style

Filled under: ,

css border style
 All we often use the property CSS border-style, and I think that will not be mistaken assumption that most often we use the value of solid - solid line. She looks like a solid line in all browsers, it is absolutely the same.Other values ​​of this property is used by webmasters is quite rare, and many, though unaware of their existence, never in my life did not use them - somehow do not need. Well, on the strength of the values ​​of "dashed" or "dotted", and then not often.

So many of us do not know that border looks different in different browsers. We suggest to consult the articles of Louis Lazaris IMPRESSIVE WEBS, in which it holds an interesting comparison of the display of the CSS properties in major modern browsers. Screenshots and tests were conducted on the basis of Windows 7.

Used to test the code

The experiment used the following css-code with these variations in color and style:
.box {
    width: 50px;
    height: 50px;
    border-width: 5px;
    border-color: #444; /* changes to "pink" for the rest */
    border-style: dotted; /* dashed, double, groove, ridge, inset, outset */
}
In some examples, the value of border color changed to more clearly show the difference map.

So there you go.

A. The value of dotted (dashed)
value of dotted



Observations: In some cases, our point look like diamonds, in others - the squares, in the third - circles. Firefox, Chrome and Safari renders the corners of the powerful at the expense of stuck pixels.Only displayed the IE10 around the perimeter of the circular points. A dotted line of the Opera, perhaps, is more accurate of all.

How should it be?
In accordance with the specification, the border with this value should be "a sequence of circular dots."

Who is right?
IE10 clearly shows the closest to what is said in the specification. Of all the other browsers only Firefox renders at least 'round the point. "

Two. The value of dashed (shading)
value of dashed



Observations: once again excelled Chrome, Safari and Firefox - because of the larger spaces of the shading is clearly different than the rest. Firefox somehow foolishly did not bounding angles. Again, Opera renders more beautiful than others, but variants of IE, in principle, no worse.

How should it be?
In accordance with the specification, the border with this value should be "a sequence of strokes with the flat / square ends."

Who is right?
If you follow the specifications, all right. And at the same time, if the fault, the ugly version of Firefox is just more than others fit the description, as his strokes do not overlap at the corners, like everyone else.

Three. The value of double 
value of double

Observations: the fact that we see all the browsers displayed the same double line. Kind of like IE10 made ​​it a little lighter, but it is only noticed the difference.

How should it be?
"Two parallel solid lines with a small gap between themselves", and the total amount of tolshita lines with an interval to be exactly equal to the specified value of border-width.

Who is right?
As for me, that's all.

4. The value of groove 
value of groove

Observations: the difference in the browser is almost imperceptible. Variants of the most unsightly IE.And again, Opera looks better than others.

How should it be?
assumed that the boundary should be "cut" on the page with the shadows that are darker than the specified border color. I honestly do not see that at least one of them was "cut".

Who is right?
In my opinion, no. Maybe I'm overly picky

Five. The value of ridge 

value of ridge

Observations: IE10 clearly shows the boundary of the mass of others. IE7 and IE8 look unpleasant.Chrome, perhaps, all displayed the nicer.

How should it be?
is assumed that this option, the opposite groove. If the groove «bumps" in the page, the ridge has to "perform" from its surface.

Who is right?
To some extent, reflect properly all. But not everything is quite clear. Firefox, Safari and Chrome, perhaps, look more carefully.

6. The value of inset 

value of inset

Observations: all look about the same. Shadows in IE7 and IE8 is clearly too dark, but still second inner shadow, which has no other options.

How should it be?
border to create this effect, that the contents of the container seems to be "depressed" in the page.

Who is right?
I think everything except IE7 and IE8. Everything looks "sunken", except for old versions of IE, which more resemble a second ridge from the inner shadow.

7. Value outset (the speaker)

Value outset

Observations: All look wonderful. All versions of IE a little darker. I think that Safari and Chrome all look better, but like it and look in IE7 and IE8.

How should it be?
This is the opposite of inset. The contents of the container should look like "elevated" above the page.

Who is right?
To some extent, everything. But, you want to settle it or not, I think IE7 and IE8 better than any other show, "elation." The rest all just tolerate shadows on the opposite side compared to the inset, which is why both values ​​seem to be very similar. A general IE10 somehow looks ugly.

Findings

As always happens with the graphics, which renders the browser, there is a clear difference in the mapping of different engines. And as usual, these razlisiya pretty insignificant, so that we can not bothered priment all of these values.

Just as in a situation with elements of form, you will not get absolutely identical in all browsers display the boundaries, and this makes no sense. But, at least, should know what the difference is in the mapping of different values.

On the article IMPRESSIVE WEBS

Posted By Unknown1:05 PM

How to avoid mistakes in CSS3

Filled under: ,

How to avoid mistakes in CSS3
The new CSS3 properties not only provide us with additional opportunities, but lead to some difficulties. This article will help you learn, whether you use the new features and avoid common mistakes.

Finally it's time to CSS3. You have probably noticed that some CSS3 properties are more complex syntax to use weird prefixes, to understand the specifics of different Web browsers and stay abreast of the latest changes.

In general, some frightening moments. Today we look at the error, you can take when writing a CSS3-code and learn how to avoid them.

Do not forget to specify a prefix for all browsers

Prefixes for the browser ( vendor prefixes ) are added to the properties of CSS. Use these boxes without actually attached property is meaningless.

For example, the property of CSS3 transform we give a -moz-transform for Mozilla Firefox, as -webkit-transform for Safari and Chrome, as -o-transform for the Opera, and finally as -ms-transform - for Internet Explorer.

It is not always necessary to use just four prefix, but do not forget to use all the boxes when necessary.

Do not do this:

.rotate {
    -webkit-transform: rotate(7.5deg);
    -moz-transform:    rotate(7.5deg);
}

Do this:

.rotate {
    -webkit-transform: rotate(7.5deg);
    -moz-transform:    rotate(7.5deg);
    -ms-transform:     rotate(7.5deg);
    -o-transform:      rotate(7.5deg);
}

Do not forget to be lazy and do not add each console. Perhaps you have a few visitors who use Opera, or you hate the browser, you still try to overcome itself. You do not just give everyone the opportunity to enjoy the site user, but they themselves will get invaluable experience.

More about this feature you can read in the article by Eric Meyer .

Do not place the property with an attachment to the bottom of the list

We are at a very exciting stage of development of CSS3, where some properties are already standardized, and some - not. The saddest thing is that they have different syntax. Properties with prefixes are a number of features and you should first make sure that they all work.

Always prescribe a property without the prefix (this is necessary), and remember the important thing: never put a property with a prefix to the browser at the end of the list. If the browser supports a version without the prefix, this property is becoming a priority. If you put the property at the end of the list, the browser will not play it.

Do not do this:

.not-a-square {
   /* These do totally different things */
   border-radius: 30px 10px;
   -webkit-border-radius: 30px 10px;
}

Safari5 understand these two properties in different ways. Property without the prefix round the upper left and lower right corners to 30px and the upper right and lower left corner to 10px. A property with an attachment will round the corners of the horizontal to 30px and add vertical rounding radius of 10px.If you set a property with a prefix to the end of the list, the browser will not reproduce it.

How to avoid mistakes in CSS3

See the example

You can learn more about this feature article from Chris Coire .

Stay in the subject

Google Chrome is rapidly evolved from version 0 to version 10 in the last couple of years.Consequently, there are some differences in how these versions of code to display the CSS3.

A simple example - the way we provide linear gradients for the Mozilla and WebKit . We can see that they have different syntax for the same properties:

.gradient {
    background-image: -moz-linear-gradient(top, #eee, #ccc);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eee),color-stop(1, #ccc));
}

Version of Mozilla is simpler and closer to the standards than the version of WebKit . Perhaps, in the latest versions of browsers, WebKit (Chrome10, and Safari 6), they will have a different syntax (not exactly) similar to the syntax for Mozilla.

.gradient {
    background-image: -moz-linear-gradient(top, #eee, #ccc);
    background-image: -webkit-linear-gradient(#eee, #ccc);
}

WebKit will support both the syntax, but it can be assumed that, ultimately, the syntax will be deprecated in the past. Stay up to date, because it is the specificity of our work, check for updates.

Recommended remarkable service sss3please - an online resource for copy-paste excerpts CSS3, which have all the "fresh" CSS3 properties in the right order.

Poor formatting

Poor formatting - not a mortal sin, as the previous ones, but still let's look at this issue. If you use a lot of characters in a row, the code looks awful, and you can get lost in it.

Do not do this:
.shadow {
    -webkit-box-shadow:inset 0 0 8px rgba(0,0,0,0.1),0 0 16px rgba(0,0,0,0.1);
    -moz-box-shadow:inset 0 0 8px rgba(0,0,0,0.1),0 0 16px rgba(0,0,0,0.1);
    box-shadow:inset 0 0 8px rgba(0,0,0,0.1),0 0 16px rgba(0,0,0,0.1);
}

Suppose that the code will be clean:
.shadow {
    -webkit-box-shadow:
      inset 0 0 8px  rgba(0,0,0,0.1),
            0 0 16px rgba(0,0,0,0.1);
    -moz-box-shadow:
      inset 0 0 8px  rgba(0,0,0,0.1),
            0 0 16px rgba(0,0,0,0.1);
    box-shadow:
      inset 0 0 8px  rgba(0,0,0,0.1),
            0 0 16px rgba(0,0,0,0.1);
}

CSS is quite lenient with the indentation, so why not take advantage of it.

Do not overdo it

Of course, you can get all rotated and changed in size, add all the transparency, to use 10 different fonts and make sure that every element on the page, cast a shadow, but why is it all right?

I'm not going to explain to you what tastes good. You - a web designer and need to know everything yourself.

Just keep in mind that many properties there are some features of CSS3. In WebKit, for example, has an excellent property keyframe-animation, if you "relive" only a few elements on the page, the animation will be played for a long time, and perhaps even to slow down your browser.

Another example - the big shadows lead to problems with scrolling page in WebKit, which users will be seen in the older versions for some time.

Just keep in mind that by removing some of the properties of CSS3, you get rid of several problems.

As for mobile devices

Another amazing property of CSS3 - a media queries. Now we have the ability to adjust to different sites and change the width of the device elements. You can directly insert styles in the styles for very small screens:
@media screen and (max-width: 480px) {
    /* Mobile stylings */
}

Remove the items that you feel less important. Make sure that the image sizes are correct and will not appear at the bottom of the horizontal scrolling. And remember about the problems that we talked about? That goes double for mobile devices, because the slightest inaccuracy can cause serious inconvenience. Consider the example of how to do:
@media screen and (max-width: 480px) {
    aside, .hide-mobile {
        display: none;
    }
    img {
        max-width: 100%;
    }
    pre {
        white-space: normal;
    }
    * {
        -webkit-animation:  none !important;
        -webkit-transition: none !important;
        -moz-transition:    none !important;
        -o-transition:      none !important;
    }
}
Hooray!

You've done everything correctly, you can be proud.

Posted By Unknown7:54 AM

Stunning effect when you hover over the image

Filled under:

In this lesson we will learn to make an interesting effect when you hover over the image. We will create it using css3, and add JQuery for browsers that do not support transparency, and Property ID transition. Also, we will make sure that our images have been adaptive.

Click on the image to see a demo:
Stunning effect when you hover over the image
Step 1: Photoshop

We need 2 versions of the images: the image that we want to see when the mouse and its black and white copy. Our image size of 845px x 515px.
Photoshop

Step 2: Layout html
..
<div id="wrap">
<ul>
   <li>
      <div>
          <img src="img/tut1_desaturated.jpg"/>
          <span class="shadow"></span>
          <img class="onhover" src="img/tut1_color.jpg"/>
      </div>
   </li>
</ul>
</div>


Step 3: Adding styles
First, let's cast off unwanted styles, we add the following code:

html, body, div, span, h1, h2,  p, a,  ul, li, img
{margin: 0; padding: 0;
border: 0; outline: 0;
font-size: 100%;background: transparent;}
ul {list-style: none;}

The main container called # wrap centered and has a size of 865 px = 845px (image size) + 2x10px (stroke).
diva, which put an image by assigning the property position: relative (to correctly position the two variants of the image) and the overflow: hidden (to hide the unwanted parts, when we rotate and zoom).
#wrap { width: 865px; margin: 0 auto;}
ul {margin-top:50px; }
li div {width:845px; height:515px; overflow:hidden; position:relative;
border:10px solid white; box-shadow: 0 2px 5px  rgba(0,0,0,.4);}


Step 4: Animation of a black and white to color
The main image is of relative positioning, the value of transparency . onhover (color image when the mouse) - 0 and set absolute positioning. When you point to a general for the divas. onhover transparency is changed to 1 . To make the effect smoother transition to add a property to the image . (In the example given is not a prefix for browsers).
img {position:relative; top:0;left:0;
transition:all 1.5s .5s; }
img.onhover {opacity:0;position:absolute;}
li div:hover img.onhover {opacity:1;}
To enhance the effect of the transition between the normal state and the state of the image when the mouse, we add an inner shadow fading ( span.shadow ):
.shadow {position:absolute; top:0; left:0; opacity:1; background:transparent;
width:100%; height:100%;
box-shadow: inset 0 0 60px 20px rgba(37,27,23,.5);
transition:opacity 1.5s .5s;}
li div:hover .shadow {opacity:0;}


Step 5: Let's add a scaling and rotation
We just need to add a property to transform, specify the time, as well as options when you move.
img {position:relative; top:0;left:0;
transition:all 1.5s .5s;
transform: rotate(-4deg) scale(1.2);
transform-origin:50% 50%;}

li div:hover img {transform: scale(1) rotate(0);}


Step 6: Make an image adaptive
First, let's change the styles for # wrap , list items (li div), to make them with rubber. In the latter case, we simply do not indicate the height and width of the element.
#wrap { max-width: 865px; margin: 0 auto; width:95%;}
li div { overflow:hidden; position:relative;
border:10px solid white; box-shadow: 0 2px 5px rgba(0,0,0,.4);}

We must also change the style of the element IMG - it will add three new properties.
img {max-width:auto; vertical-align:bottom; width:100%;} 


Step 7: Add jQuery

Add JQuerry, so that our images are displayed correctly in IE.
<!--[if lt IE 9]><script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
    $(document).ready(function() {
           $('.onhover').hide();
$('li div').hover(function(){
$(this).find('.onhover').fadeIn(1000);
},function(){
$(this).find('.onhover').fadeOut(1000);
})
})
</script><![endif]-->
That's all. I hope you are inspired by this example, it's your turn to play with the property css transitions.

By lesson - pehaa

Posted By Unknown4:48 AM

Apr 29, 2012

Colorful text in Illustrator

Filled under: ,

Colorful text in Illustrator
 In this lesson we will learn to create 3D-Text in Illustrator CS4. We will do our fill (floral pattern), to apply beautiful gradients, using basic tools and forms, and much more.The main purpose of this lesson is to show that in Illustrator, you can achieve amazing results (a combination of fonts and colors), and to understand the basic principles such as perspective and lighting.

The final result:
The final result
Step 1: Create a document

Create a new document in Illustrator, size 500 × 500pt.
Create a document
Step 2: Create the first letter

Choose a good, bold font for the text-it will give us more surface area to play with letters. We will create the letters one by one, you can select different fonts for each letter in order to achieve interesting results. We will use the font Impact .

Type the first letter of the word you want to create with the help of Text Tool (T) . Our first letter is «D». Click the Selection Tool (V) and select the drive letter and select Type> Create Outlines .
Create the first letter


Step 3: Add 3D-effect

Let's add a 3D-effect of our letter. To do this, select the drive letter and go to Effect> 3D> Extrude & Bevel .

Add 3D-effect

In the Extrude & Bevel check out a preview, so you can see, the letter will look like until we change the parameters of Extrude & Bevel . We will have these settings:

Add 3D-effect1

Perspective plays a very important role in the creation of any 3D-object on a flat surface. Here, the important role played by the size and distance. If you increase the distance between us and the object, we see that the size of the object fell. Thus, we can achieve the illusion of depth to our text.

If you are satisfied with the preview, click OK, to apply the settings to your letter.
Step 4: working on the components of the letter

Expand the type of letter, selecting Object> Expand Appearance .

components of the letter

Then ungroup the elements of the letter to all its parts were separated. This will give us the opportunity to use the colors and gradients for each element of the letters separately. You can ungroup objects by selecting Object> Ungroup (Object> Ungroup ) (Shift + Ctrl / Cmd + G). You may need to execute the command "Ungroup" a few times, because our letter contains a lot of detail.

If you increase the size of the bit with the Zoom Tool (Z) , we can see that some parts are divided into even smaller pieces. Simply select the items you want and combine them as needed (Pathfinder (Window> Pathfinder ).

components of the letter


Step 5: Adding Gradients

To start, try to imagine a light source: we will be on top of our letters. Now you need to do some of the letters are darker and some lighter. Thus, we will create shadows and highlights on the surface. Every time you add a gradient fill to an object, think about where the light falls.

But first make sure that the window is open gradient ( Window-> Gradient or press Ctrl / Cmd + F9).

To the front of the letters, use the radial gradient.

Adding Gradients

On the left side, using a linear gradient. Feel free to play with colors until you get the desired result.


Adding Gradients

For the inner part of the letter, we will also use a linear gradient.

Adding Gradients


Step 6: Add the glare

Let us now detail the our letter, stressing its edge. Select the front of the letter, copy it (Ctrl / Cmd + C) , and then paste twice (Ctrl / Cmd + F) .

Select a top copy with the Selection Tool (V) and move it 1px down and right (Use the arrow keys).Now, hold down Shift , click on the other copy to select it. In the options bar Pathfinder , click Subtract Minus Front .

Add the glare

Change the fill color of an object so that it becomes lighter than the color of the gradient of the letter.


Add the glare


Step 7: Create another letter

Now that we've covered the basic steps for creating 3D-characters, let's fix a material and try to create another letter. The remaining 3D-characters you create for yourself.

Our second letter is "e." For this we will use the font Cooper Std .

Repeat the previous steps again, this will help you figure below:

Create another letter



Create another letter



Create another letter



Create another letter



Create another letter

After that, place the "e" so that it is combined with the «D». Later, we will draw the shadow of our letters.

Create another letter


Step 8: Create a floral pattern

Let's create a good fill for our third letter («S»).

Choose another bold for the following 3D-characters, just as we did for the letter «D» and «e." Apply a linear gradient on the left side of the letter.

For the front side, we'll create a simple floral pattern. For this purpose we use the Ellipse Tool (L) on the toolbar, draw a small circle of pink.

Select the Rotation Rotation Tool (R) , and holding the Alt / Option . In the window that appears, set the angle of 60 °, and then click Copy. This will create a second circle of pink.

Create a floral pattern

Repeat this several times using Transform> Transform Again (Ctrl / Cmd + D) . Now we have three circles. Again, use Transform , to create a circle.

Use the Selection Tool (V) , to select all the petals and the panel Pathfinder , click the Unite .

Create another circle in the center of the petals. Set the fill color of a white circle. Place the white circle inside our flower and align it horizontally and vertically ( Align (Window> Align or Shift + F7 )).

Create a floral pattern

Make several copies of the flower and place them as shown below. Draw a rectangle using theRectangle Tool (M) and set the fill color of beige. Then send the beige box down (Transform> Arrange> Send to Back) , so that he was under a layer of flowers.

Create a floral pattern

Then drag them to the panel Swatches - so you create a pattern that can be applied to the letters (as an option, you can add any other colors and patterns at your option).

Activate the front of the letter «s» and click on our flower pattern in the panel Swatches , to use it as fill.

Then set the pink color of the contour and size of a pixel to refine the edge of the letter.

Create a floral pattern

Use your imagination and try to make more pleasant and colorful designs for the remaining letters.
Step 9: Create a shadow between the letters

If you want to create realistic images, the shadows are very important. Even if you have a 3D-object, without a shadow, he will not look realistic. The letters, which are fairly close to each other, have cast a shadow on each other.

Let's start with the «D» and «e." First, we must make a copy of «D» - just select it and press Ctrl / Cmd + C , and then press Ctrl / Cmd + F , to insert a copy of the above.

Ungroup the copy (Ctrl / Cmd + G) . After ungrouping, all the details have yet to be selected, click on the Unite panel in Pathfinder , to combine them into one object.

shadow between the letters

Let's do the same with the letter "e".

shadow between the letters

Use the arrow keys to move a copy of the letter "e" on the left 2px. Turn it clockwise.

shadow between the letters

Hold down Shift , click on the button, a copy of «D», to add it to our choice, and then click IntersectionIntersect in a panel of Pathfinder .

shadow between the letters

Select the newly created object, send it back (Object> Arrange> Send Backward) . Then change the fill color to dark red.

shadow between the letters

Use the same technique to keep the shade for the other letters. Just make sure you set via the fill color slightly darker shade than the color of the letters.

shadow between the letters

For the shadows on the top of the surface, which has several colors, you need to ungroup the shade and apply different shades of color for each part.

shadow between the letters


Step 10: The Hanging letter

As seen in the final image of this tutorial, we "hung" the letter «g», because it has an ideal form for this purpose and is positioned to the right place.

For starters, let's make sure that your letter «g» is above the other letters (that is, on the top layer).Use the Line Tool (/) and hold down Shift , to draw a vertical line.

The Hanging letter

Grab your Pen Tool (P) and draw a loop (see below) around the letter «g».

The Hanging letter

Select (Object> Expand) , to change it.

The Hanging letter

We need to do to the ends of the loop did not exceed the limits of the letter «g». To do this, first copy the letter «g» and paste in front. Ungroup the copy. For ungrouped object copied the letter «g», clickUnite in the panel Pathfinder , as shown below.

The Hanging letter

Now activate the letter «g» and the loop and click on the intersection of Intersect in a panel ofPathfinder . You will be only that portion of the loop, which is located inside the «g».

The Hanging letter

To make it more realistic, let's add a shadow. Ungroup the letter «g» and then the inner part (see below).


The Hanging letter

Copy the selected object and paste it on top. Copy the loop and also insert it sverhue. Select both copies of the intersection, and then click Intersect in a panel of Pathfinder . This will allow us to retain only the part that is inside the «g».

The Hanging letter

Change the fill color of the inside of the loop on the light gray (darker shade of white). This makes our lighting as realistic as possible, since the inner part gets smaller light sources.

The Hanging letter

Use the same procedure to create another loop.

The Hanging letter


Step 11: Create a shadow at the bottom of

Let's create a shadow under each letter. We must do this manually, since it is the best way. For letters with sharp corners, use the Pen Tool (P) . For circular letters, use the Ellipse Tool (L) . After that, select a light gray color for the fill.

Create a shadow at the bottom


The final result

Create a shadow at the bottom

Posted By Unknown4:46 PM