New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Creative Quick Tips
Illustration by John Hersey

How to use Photoshop and Illustrator to write CSS


From:

Creative Quick Tips

with Justin Seeley

Video: How to use Photoshop and Illustrator to write CSS

Hello and welcome back to another instalment of Creative Quick tips. As far as Illustrator is concerned, let's check this out.
Expand all | Collapse all
  1. 1m 45s
    1. Welcome to the series
      48s
    2. How to send feedback
      57s
  2. 18m 10s
    1. How to find free stock photos online
      1m 55s
    2. Using the transform command in Illustrator
      4m 14s
    3. Five tools for wireframing & mockups
      7m 36s
    4. How to convert videos into GIFs using Photoshop
      4m 25s
  3. 11m 50s
    1. How to create layers from Photoshop Layer Styles
      3m 14s
    2. How to turn Illustrator artwork into Shape Layers
      3m 15s
    3. How to combine vector shapes in Photoshop
      2m 49s
    4. How to use text wrapping in Illustrator
      2m 32s
  4. 15m 41s
    1. How to effectively rotate objects in Illustrator
      2m 39s
    2. How to create interlocking shapes in Illustrator
      3m 29s
    3. How to speed up Photoshop's performance
      3m 25s
    4. How to use tool shortcuts in Photoshop
      2m 52s
    5. How to use springloaded shortcuts in Photoshop
      3m 16s
  5. 9m 27s
    1. How to create a better Twitter avatar
      3m 59s
    2. How to embed videos in WordPress without a plugin
      1m 45s
    3. How to embed real tweets into any WordPress post
      2m 15s
    4. Create your own Photoshop shortcut cheat sheet
      1m 28s
  6. 17m 53s
    1. How to create better Facebook cover photos
      4m 31s
    2. How to use keyboard shortcuts in WordPress
      2m 47s
    3. How to add Apple touch icons to your website
      5m 27s
    4. How to use Font Awesome in design applications
      5m 8s
  7. 8m 50s
    1. How to create your own pixel grids
      4m 25s
    2. How to sample colors from anywhere
      2m 5s
    3. How to create diagonal guides in Illustrator
      2m 20s
  8. 13m 48s
    1. How to round individual corners on Illustrator shapes
      3m 21s
    2. How to use Camera Raw as a Smart Filter
      4m 8s
    3. How to use the Shape Builder Tool to recolor artwork
      3m 34s
    4. How to use "Align to Key Object" in Illustrator
      2m 45s
  9. 8m 26s
    1. Exploring the Kuler Panel in Illustrator CC
      1m 50s
    2. How to draw awesome shapes with the tilde key
      2m 12s
    3. How to reset your bounding box in Illustrator
      2m 6s
    4. How to change your artboard color in Illustrator
      2m 18s
  10. 23m 19s
    1. How to use Photoshop and Illustrator to write CSS
      4m 1s
    2. How to create scalable rounded rectangles in Illustrator
      4m 16s
    3. How to use the fill commands in Photoshop
      3m 52s
    4. How to accurately space objects in Illustrator
      2m 5s
    5. Ten WordPress plugins that you should know
      9m 5s
  11. 9m 41s
    1. Unlocking background layers in Photoshop
      1m 8s
    2. Using opacity shortcuts in Photoshop
      1m 50s
    3. Using Illustrator's Glyphs Panel for icon fonts
      3m 15s
    4. Creating flexible buttons in Illustrator
      3m 28s
  12. 6m 31s
    1. Locking artwork in Illustrator
      2m 5s
    2. Five free fonts for your next project
      2m 0s
    3. Improving the SEO of your Muse website
      2m 26s
  13. 17m 7s
    1. Fitting content into your InDesign frames
      2m 37s
    2. Setting up your own Autocorrect in InDesign
      2m 33s
    3. Drawing complex shapes in Illustrator
      3m 14s
    4. Using the snapshots feature in Photoshop
      4m 40s
    5. Creating awesome product shots with Placeit
      4m 3s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Creative Quick Tips
2h 42m Appropriate for all Aug 05, 2013 Updated Jul 28, 2014

Viewers: in countries Watching now:

Join Justin Seeley, lynda.com staff author and design enthusiast, each week for a new 5-minute, self-contained tutorial that you can use to instantly improve your design workflow. This series covers techniques for print, digital, and web design, addressing the tools that creative professionals like you use most. Learn new ways to leverage layer styles and vector shapes in Adobe Photoshop, work more efficiently with text in Illustrator, and embed videos and even tweets in WordPress posts, and much more. Check back each week for a new installment, and a new design hack.

Subjects:
Design Web Design Techniques
Software:
Illustrator InDesign Photoshop
Author:
Justin Seeley

How to use Photoshop and Illustrator to write CSS

Hello and welcome back to another instalment of Creative Quick tips. My name is Justin Seeley, and in this weeks episode we're going to be taking a look at how to get CSS information from our files inside of Photoshop and Illustrator. With Adobe's new Photoshop CC and Illustrator CC products, there are actually some really interesting HTML and CSS features being built into both of these applications. We're going to specifically focus on CSS this time around, but if you want more information on this type of stuff, I highly suggest.

That you take a look at my Photoshop and Illustrator for Web Design courses inside of the lynda.com online training library, where I talk a lot about web design, work flow and all that kind of stuff. So, as you create things inside of Photoshop, and in here I've just got a rectangle shape out on the canvas here, and what I want to do is I want to see what the CSS properties of this would be. Now, unfortunately there's no CSS panel, as of yet, inside of Photoshop, so what you have to do is select the layer you want, and by the way you want to name the layer, in this case, the same thing you would want to name the div container that you would want to create here.

So in this case, maybe I want to call this something like box_large. And then I would come over here and I would choose Copy CSS from the layer panel menu. Then if I go over, and let's just open up something like a text document, get text edit really quick, there we go. I could paste in all of this information and I'll blow this up so you can see it. So here's all the information I copied over from Photoshop. But it's telling me, okay the div's name is box_large just like I have there. Background color.

That's one of the best features right there. I can grab the RGB values from that, and easily put that right into a code editor to style up some CSS. The rest of this stuff is sort of frivolous information like the position and all that kind of stuff. You may want the width and height if you've been very specific about how big you want this thing to be. And by the way, this will also pick up things like gradients and drop shadows as well and allow you to translate those into CSS really easily as well. So, you might want to check that out. As far as Illustrator is concerned, let's check this out. I have another box drawn over here inside of illustrator and I also have the CSS Properties panel, which you can get to by going to Windows > CSS Properties.

And I've also named this item here, box, in the Layers panel. Now I can double-click that, and rename that something like box_large like we had before. And then when I do that, you'll see that the declaration here in the Properties panel changes to box_large. I can take all this information. Just click and drag across, and copy it. And then I can go into text edit and I can just paste it in, there it is, it's that same type of information that I had before. Scroll over, so you can actually see that information, minimize that down, there we go.

So there you have the box_large, background color, you've got a hex color and an rgba value, which might be a little bit more handy. RGBA, by the way, stands for red, green, blue, and alpha, so you can actually control opacity of the colors as well. I'm going to close that up and I'm not going to save it. Now I'm going to add some stuff to this. So let's say for instance, I wanted to change the color of this to a gradient. Notice that when I click on the gradient here, that it actually adds in all of that information which you can then easily copy and paste into a code editing application. Dreamweaver for instance. And then you can also add things like a drop shadow.

So Effects > Stylize > Drop Shadow. And let's just hit a Preview here, there we go. And when I do that, you can see it adds the box shadow property to that. I can then take all of this, past it into my code editor as a CSS declaration and I would be able to then, call out that CSS declaration in an HTML file and showcase that very easily. If you're not a web person but you're doing some web design work, you could easily just take this information that you've created here and pass that along to your web developer. Making it easier for them to translate what you've created in Illustrator or Photoshop into actual workable HTML and CSS.

It's going to make the process a lot easier, it's going to bridge that gap between designer and developer, and make things run a whole lot more smoothly.

Find answers to the most frequently asked questions about Creative Quick Tips.


Expand all | Collapse all
please wait ...
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creative Quick Tips.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.