Design a beautiful website from scratch.

Design a Beautiful Website From Scratch

Tutorial Details
  • Program: HTML Editor, Photoshop
  • Difficulty: Intermediate
  • Completion Time: 2-4 hours

Have you ever wanted to design a beautiful website but just didn’t know how? To be honest, a few years ago, that happened to me too. While browsing the web, I saw so many nice looking websites and wished I had the skills to create such designs. Today I can and I’m going to teach you how to do so too! Essentially, it requires a few Photoshop skills and an eye for detail. Through this tutorial, I will point out these tiny details which make a website design look beautiful. Fire up Photoshop and let’s get going!

Finished Website

Step 1 - Download the 960 Grid System Template

The designs I create are nearly all based on the 960 Grid System. So, before we begin we need to download the grid system Photoshop templates. You can
find them on the 960.gs official website. Simply unpack the zip file and look for PSD templates. You will see that there are
two different types of templates: one is 12_col and the other one is 16_col. The difference between these two are, as the name suggests, one is made with 12 columns and the other one with 16 columns. To explain it a bit more, if you have 3 boxes in your design you would choose the 12_col grid, because 12 is divisable by 3; or if you have 4 boxes in your design, you would choose either 12_col or 16_col grid because 12 and 16 are divisable by 4. If you follow this tutorial, you will see this in action.


Step 2 - Defining the Structure

Before we open our PSD grid template and begin drawing, we first need to define the structure of our site. This is a bit more of a complicated structure because we have a layout inside a layout. You can see this exemplified in the image above.


Step 3

After we’ve defined our site structure we’re ready to move on. Open your 16_col.psd template. Go to Image > Canvas size . Set the canvas to 1200px wide and 1700px high. Set the background color to #ffffff.


Step 4

Now pick the Rectangle Tool and draw in a rectangle the full canvas width and about 80px high. Fill it with the color #dddddd.


Step 5

Create a new layer above the rectangle and set Layer mode to Overlay. Ctrl+click the rectangle layer. Now the rectangle will be selected. Choose a 600px soft brush, set the color to white, and click a few times with the edge of the brush just a bit over the selection, like shown on the image. This way you create a nice, subtle light effect. Additionally you can link these two layers.


Step 6

New layer. Choose the Rectangle tool again and draw in a thin dark grey rectangle, as shown in the image.


Step 7

With the Rectangle tool selected, draw in a big box around 500px underneath the top rectangle. Make it 575px high and give it a Linear Gradient overlay from #d2d2d0 to #ffffff, direction -90, Scale 100%.


Step 8

Now we are going to create the same light effect as described in Step 5. We will be using this technique a lot; so next time I will just refer you to Step 5 for the effect.

Create a new layer above all the current layers. Ctrl+click the big rectangle. Choose a 600px soft brush, set the color to white, and click a few times with the edge of the brush just a bit over the selection, as shown in the image.


Step 9

Create a new layer and draw in a big rectangle about 400px high. This one is used for our header. Fill it with a nice blue gradient from #2787b7 to #258fcd.

See how subtle the color change is?


Step 10

Add a dark blue 1px line on the bottom of the header box, apply the Drop shadow effect. For drop shadow use Blend mode: Multiply, Opacity: 65%, Angle: -90, Distance: 1px and Size: 6px. Next, create a new layer above and draw another 1px white line under the dark blue one. This way we create sharp edges for our content box. Basically you can apply this border technique on every box in your design just with different colors.


Step 11

Create a new layer, and with the Rectangle Tool, draw a 50px high rectangle in the top part of the canvas, just as shown in the image. This will be used for our navigation.

Apply a Drop shadow. Use the values shown in the image.


Step 12

Time for the navigation. Use the Rounded Rectangle Tool and set the radius to 5px. Draw a rectangle, fill it with #f6a836, and apply the following effects:

  • Inner Shadow – color: #ffffff, Blend mode: overlay, Opacity: 60%, Angle: 120*, Distance: 7px, Size: 6px.
  • Inner glow – Blend mode: normal, color: #ffffff, Size: 4px. Everything else leave default.
  • Stroke – Size: 1px, Position: inside, color: #ce7e01.

Now select the rectangle with Ctrl+click. Go to Select > Modify > Contract and enter 1px.

Create a new layer above, set the Blend mode to Overlay and create the same effect described in the Step 5 using a smaller brush size this time. Then add the navigation text. I used Arial for navigation links, all caps and Antialias set to “none”.


Step 13

Now let’s create the search box. With the Rounded Rectangle Tool, radius 5px, create a search box positioned on the right side of the grid layout and in the middle of the top gray stripe from Step 4. Add these layer styles:

  • Inner Shadow – color: #000000, Blend mode: Multiply, Opacity: 9%, Angle: 90*, Distance: 0px, Size: 6px.
  • Stroke – Size: 1px, Position: inside, color: #dfdfdf.

I added the “search” text and a light gray “GO” button. This is how it should look.

So far we have a lot of layers and need to organize things a bit so we will create a new Layer folder and name it “search”. Select all layers that make the search field and just Click + drag inside the new folder. Later we’re going to organize other content inside the folders so we have a nice organized layer palette.


Step 14

Now create a new layer and draw a “Sign Up” button the same way we created the search field – just half the width. Place it under the search field in the middle of the navigation stripe.

Again we’re creating the effect from Step 5.

Use a smaller soft brush size. In this case it was 45px.


Step 15

After adding the logo and the Tagline this is how our site should look like now.


Step 16

Now we’re coming back to our layer organization mentioned a few steps earlier. Create a new empty layer folder and name it “top_bar”. Move all graphics from the top of the layout inside this folder (logo, tagline, search field, sign up button, navigation and backgrounds).

Create another empty layer folder and name it “header”. This is where we will put our header graphics. This is how it should look.


Step 17

Our header looks a bit plain right now so we’re going to add the same light effect everywhere else on the site. Select the header box (blue). Create a new empty layer above and set the mode to Overlay.

Pick a large soft brush 600px, color #ffffff and click a few times in the area under the navigation. Furthermore, to gain more depth, we can switch the color to black and do the same thing just in the bottom part of the header. Give it a try!


Step 18

In this step I will explain to you how I created the reflection for the header images. Take two images of your choice, I used Safari screenshots of my two other templates, scale one down and place it behind the bigger one. Copy both layers, and with the Free Transform Tool, flip the first image and then the other one. Shift both images a few pixels down. Now make a selection from outside the bottom part to middle of the first flipped image with the Rectangular Marquee Tool. Go to Select > Modify > Feather and type 30px or more. You should have a selection similar to the shown in the image. Press the delete key a few times and you will create a nice faded reflection from the original image. Repeat this step for the second image.

Now to make those two images stand out a bit, create a new layer and set the mode to Overlay. Create the effect described in Step 5.

This is how our header should look after adding a nice tagline and some buttons. Don’t forget to put all these graphics inside the “header” layer

folder to keep things organized here ;)


Step 19

If you look at the final image preview, you can see that we have nice tabs in the content area. In order to create these tabs we’ll need to perform a few extra steps, but it’s definitely worth it. First, create a large rectangle shape with the Rounded Rectangle Tool. Make it 70px high and a radius of 10px or more if you wish. Now we have to get rid of the bottom radius and make a perfect corner out of it. Pick the Direct Selection Tool and click on the shape path. Click the vertical point and drag it down while holding the Shift key until it reaches the same level with the horizontal axis. So far so good but it’s still deformed. You see the little handle. Click on it and move it upwards to the point of the path.

Now we have created a perfect corner. This is how it should look. Repeat this step for the right bottom corner.


Step 20

Pick the Line tool and set it to 1px.


Step 21

Draw in gray separators while holding the Shift key.


Step 22

Place some icons, headings, and a description for each tab. I used Ray Cheung icons available from – WebAppers.com. Usually one tab is always active and the others are inactive. To make this clear in our
design, we need to find a way to accomplish this. I desaturated the other icons and reduced the opacity for the headings and text while keeping the first active tab colorful and bright.


Step 23

To make the active tab more obvious, we’re going to give it a faded white background. To do this first select the whole object and then subtract from the selection to get only the first tab selected.

This is what your selection should look like.

With a smaller soft brush, paint in a white background.


Step 24

Add the shadow. Create a dark gray rectangle behind the tabs, as shown in the image.

Add a vector mask by clicking the little icon in the bottom of the layer palette.

Set the color to black, pick a large soft brush, and start deleting parts of the rectangle. As a result, we get a nice fake shadow effect behind our tabs.

Finaly the attention to detail. Draw in a 1px gray line on the bottom of the tabs. Mask the layer again like described earlier and with a big soft brush delete the left and right end of the line. Now we get a nicely faded line that follows our shadow behind the tabs.

This is how our tabs should look.


Step 25

It’s time to design the content for our first tab. We need a featured design image, a nice heading and some text. First we
will create the featured image. I thought that it would be nice to break the edginess of the design by creating a nice stacked photos effect for our
featured design image. To do this, draw a white rectangle with a 1px light gray border, and a very subtle drop shadow effect.

Now copy that layer and rotate it slightly with the Free Transform Tool. Do this one more time.

Import your featured image and place it over the white rectangles. Don’t worry if the image is flowing outside the boxes, we will fix that. Make a selection from the top rectangle, go to Select > Modify > Contract and insert 5px. With the featured image layer selected click the Quick Mask icon on the bottom of our layer palette. You will get nicely bordered image effect like shown in the image here.

This is how your layer order should look like.


Step 26

Don’t forget to keep things organized. So create more layer folders and organize your palette. This is how I have done it.

By adding a nice heading, some text, and bullet lists, our web design work is finished. Let’s move on.

And again some layer organization.


Step 27: Testimonials

I thought this one should be huge; so I’ve put this in a big box right after the main section. First draw a big light gray rectangle about 220px high. Give it a 1px gray border.

Then draw in another brighter rectangle by 10px smaller on all sides. Also add a 1px light gray border.

Finally add some text and we’re done!


Step 28

It’s time for the footer. Draw a big 400px high, dark gray rectangle.


Step 29

Add some light effect the same way as described in Step 5.


Step 30

Next, draw a 10px high rectangle above the footer and add some subtle effect by adding two more lines on top and bottom like shown in the image.


Step 31

Create the very bottom part where the repeated navigation will be placed. You can copy the rectangle from the top where the navigation is
placed, move it down and make it about 40px high. Place it at the very bottom of your canvas. Please note that you may need to expand your canvas at this point so that all your graphics fit. If you need to do that, then go to Image > Canvas size and set the height to fit the entire layout.


Step 32

Attention to detail again. Add a 1px white line above the footer navigation box to give it a nice border effect.


Step 33

Add some footer content and separate it nicely within your grid.


Step 34

Finally organize all your layers inside the layer folders. This is how I’ve done it.


The Design

So there we go, the final design, with a couple of variations for different pages. The final PSD designs are, of course, on sale at ThemeForest.net.


Final Thoughts

I hope you have enjoyed this tutorial and have learned a few new techniques. Now, it’s your turn to create more great designs. Remember, with attention to detail you, will be able to design beautiful websites with just two or three Photoshop tools. What do you think?


Marko Prljic is segen on Codecanyon
Tags: CSShtml
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://net.tutsplus.com Jeffrey Way

    Hey everyone! I’d like to see more of these kinds of tutorials – ones that teach fundamental design techniques. If you’d like to submit one, email it to nettutsblog@gmail.com.

    Of course, we’ll need to sign off on the finished design before agreeing to the tutorial!

    • http://eyoosuf.blogspot.com Yoosuf

      @wisefalco its a very very good job, nothing else to say than that. as like south indian saying its a “Pakka Tut”

      @jeff, dont you feel like its should go to PSD TUTS+, becouse its a PSD based one( :) you will try to justyfy your self)!

      • http://laranzjoe.blogspot.com/ lawrence77

        yeah somewhat I agree u Yoousuf!
        but its a website only, so its placed here! ;)
        Wherever they put we read, then what! :oops:

        Yeah its a PAKKA Tutorial Mr.Writer!

      • http://www.mamjed.com mamjed

        I agree, the psd part of it should go on psd tuts, but there should be a second part for coding it and making it into a finished website that should be on nettuts.

      • http://www.nickbrowndesign.com Nick Brown

        I disagree, keep these kinds of tutorials on here. People who visit PSD tuts may not really be interested in this type of tutorial, but I’d say most of the nettuts visitors would be interested. After all, it’s the first step in creating a website.

    • http://laranzjoe.blogspot.com/ lawrence77

      asp.net?

      • http://eyoosuf.blogspot.com Yoosuf

        what do u mean of ASP.NET?

      • http://twitter.com/vastudio Meshach

        Well… It’s “Web Design” so it should go on NETTUTS+

        That’s my opinion anyway.

  • http://www.10neegrit.com rene

    wow, well that gives a whole new meaning to “in-depth”. thanks a lot. its brilliant:)

  • http://owoce-ffa.eu Straw

    Realy Beautiful website:)

  • Nate

    Love this – really good tutorial…

    but, seeing as this is net tuts…will we see a Pt. 2 with the CSS? That would be niiiiiiiice :)

    • http://www.thatgraphicguy.com Ryan Cook @ that graphic guy

      I agree it would be cool to see a part two for the coding of the website… Give a real start to finish tut.

    • http://ericsalvi@comcast.net Eric

      totally agree, also would be cool to see it integrated a bit further. Would you use PHP to theme it up so its all on one index.php site?

    • http://www.njedesign.com Norm

      How about asp.net to theme it up?

      • Isaac Seymour

        since when has nettuts used asp.net? lets keep it that way – open source jQuery, PHP and MySQL. With HTML and CSS of course :)

    • http://www.njedesign.com Norm

      Beautiful job on the tutorial!!!

  • http://twitter.com/furley Furley

    Great tutorial. I hope you you paid Marco a little extra for this on, Jeff.

  • http://i-tech-life.blogspot.com idrish

    this is a pretty good article..was always looking for such tuts…thanks a lot…

  • Ardhian Satrya

    It’s a great tutorial. I like it. Very useful for newbies like me :) I hope there’ll be another tutorial on how to make it live…

  • http://parisvega.com/ Paris Vega

    Very nice.

  • jason

    I’m on PSDtuts or does the mark-up, styling, and scripting come next week?

  • http://www.rule-twentynine.com Starstuff

    Great, great tut! Could we please have a follow up on how to turn this into a functioning web page? Since this a rather complex design, I’d love to see how to make it into a full-fledged page.

    Again, great work, Marko! Thanks for sharing.

  • http://www.kieru.com Robert

    The detail provided in this tutorial really is great- I hope we see more of this style as well. My only criticism would be the use of a PSD template; but then I am always wary of boxing my design into any prefabricated template.

  • wouter

    I thought this was a very good tutorial. Nice to see that people don’t keep their design secrets to them selves.

    Keep up the good work.

  • Daan

    Nice work Marko!

    I love your themes on TF, and go on making these tuts!

  • jermaine

    sweet tutorial

  • http://thewebgoods.com Ben G

    Great tutorial, thanks for sharing!

  • http://chrisberthe.com/ chrisberthe

    Amazing, thank you.

  • anon

    BVD – Beautiful Website Design

    shouldn’t that be BWD?

    • http://www.markoprljic.iz.hr Marko
      Author

      :D I knew someone would notice that. Yes, that was intentional.

  • http://www.biotec.ba kooboora

    svaka čast majstore! odlican tutorial

  • http://www.vcarrer.com/ Vladimir Carrer

    Great work, Marko!

  • Chris

    Very nice tutorial. I understand exactly where your coming from with seeing beautiful web sites and wishing you could do the same. I think my web sites improved when I started designing them in Photoshop first. The first few times it was a longer process than creating HTML/CSS, but now days I can knock some layouts together quite quickly, and if a client wants a change, its easily done.

    I’ve also been using 960gs for a few months on bigger layouts and its a great framework! It would be great if they did one for 760pixels – or to fit 800×600. If anyone knows of one please share :)

    • http://www.webmaster-source.com redwall_hp

      I generally subscribe to the 37Signals design ethos, or a variation of it: Sketch it on paper, then jump right into the HTML/CSS, creating graphics when necessary. Sometimes I’ll create a segment of a design (like a header) entirely in Photoshop first, but I pretty much never do a finished design in Photoshop before getting to work with the HTML.

      Lately I’ve been wanting to try to move toward the “Photoshop first, code later” approach, as I think it might improve some of my shortcomings in design.

      It’s kind of hard, though. I am, by nature, a coder. Little is more fun to me than building apps with PHP or hand-writing HTML. :)

      • Darren

        Why would you subscribe to the design ethos of a company that has some of the ugliest websites on the internet? I realise their products are popular but maybe they’d be much more popular if they had decent websites.

      • http://www.webmaster-source.com redwall_hp

        It’s not that I emulate their approach, I’ve just agreed with them…

  • Al

    real weird one, not seeing any of the images from the tutorial on my screei

    using FF on Windows 2000 system

    Ak

  • http://smexdesign.se/ SmeX

    great! thx :)

  • Stephanie

    Great tutorial! I would love to see more tutorials like this. I would also like to see how to take a design like this and put it into HTML/CSS. I always get stuck on trying to put gradients and fancier buttons in the final markup of a design.

  • http://creativityden.com/ Liam McCabe

    Wow!

    Love the style! :)

  • http://www.lifeisaprayer.com/ Jeff Geerling

    Wow. Nice tut! Next tutorial: How to convert your PSD into a standards-compliant XHTML/CSS layout ;-)

  • http://www.metroairvirtual.com Colin McFadden

    Wow! Finally a great tutorial for those of us trying to get used to Photoshop (I’m transitioning from Fireworks). There have been a lot of awesome tutorials about going from PSD to HTML/CSS, but never from scratch in Photoshop. Awesome work.

  • Patrik

    This was pretty awesome. Clean, modern and well explained! Great job putting this together.

  • Garry Aylott

    Great design and great TUT. Can we have a Part 2 with converting to XHTML and CSS? Please?!?!?!?!?!?

  • http://www.jankoatwarpspeed.com/ Janko

    Really great tutorial.

  • Michelle

    Wonderful tutorial, thank you!

  • crypta

    Very nice tutorial, nice style, love ! Pozdrav from Croatia :)

  • http://www.freshclickmedia.com Shane

    Fantastic, in-depth post. The tab icons look a little like the ones from IconExperience.

    Great stuff!

  • http://www.shopdev.co.uk Homar

    Probably the best tutorial on nettuts to date!

  • http://tuts.cgbaran.com CgBaran Tuts

    Excellent tutorial thanks for sharing

  • Sal

    Awesome Tutorial!! I would like to see a tutorials or a series of tutorials that starts from scratch to finish. Im saying…all the from opening up the a new composition in Ps to seeing it come alive on the web. That’ll be awesome!! This tutorials started off on the right foot to do all of that. Looked forward for the video response!

  • jem

    Very nice looking design. I’ll agree this tutorial seems oddly placed.. it kind of seems more fit for PSDtuts unless its followed up with an actual “build” tutorial.

    Looks great though!

  • http://www.markoprljic.iz.hr Marko
    Author

    @All: Thanks a lot. Much appreciated. I’ll try to write followup tut “Convert your Beautiful Website to (X)HTML / CSS”. Thanks again.

    • ant

      Great job Marko, one of the better tuts on nettuts. Look forward to the follow up.

    • starlight86

      can’t wait to see it. thx again for writing this awesome tut!

  • http://www.akkis.gr akkis

    Another great tutorial! Thank you very much!

  • http://creativepayne.com Aaron Payne

    Excellent in depth tut! It’s nice to see other people’s process. Thanks a ton!

  • http://www.davidrojas.net David Rojas

    That’s really great, I love those web design tutorials. But again, that kind of tutorials used to go to psdtuts, why put it here? (I’m not complaining, just curious).

  • http://laranzjoe.blogspot.com/ lawrence77

    wow :oops: really nice outcome…

    soon I except a PSD to HTML/CSS for this! ;)

    • http://laranzjoe.blogspot.com/ lawrence77

      ……..missed in above

      I like ur naming of layers, pretty cool idea! ;)

  • that guy

    Thanks for the in-depth article! I’ve been trying to get into the swing of doing a full PS design *before* coding, and this is a big help.

    If you’re using the site in this tutorial somewhere, though, you may want to fix the spelling of “delivered” in that testimonial! (it says “deliverd” right now)

  • http://iniwoo.net/ T-Law

    Very good tutorial, thanks.

  • http://bradysewall.com Brady

    Wow – great tutorial!

  • http://myfacefriends.com Myfacefriends

    nothing i can say WOW! keep up!

  • MGK

    Thanks a lot for this tut !!

    Is there any other tutorial that explains now how to transform this psd file into html/css code ?

    thanks in advance !

  • http://vectormesh.info Shibi Kannan

    very nice PSD tut in nettuts. !!!

    Ah ha I see everyone pointing out the same fact. Well we do expect PSD to HTML type tuts. Hope we get more of these.

    My suggestion – pick one winner from themeforest every week and ask them to write about their theme development from scratch like this one.

    It would be fun to learn from all those brilliant guys out there.

  • http://www.markoprljic.iz.hr Marko
    Author

    Hey guys, just to let you know, I’m working on the next tut on how to convert this design into valid (x)html/css, cross browser website. Just stay tuned. Thanks.

    • bill

      Ah good, that’s a huge part of the process and I was wondering why that was left out.

    • bill

      Also, any tips on choosing color palettes?

      • http://www.markoprljic.iz.hr Marko
        Author

        Actually, with this one I started with shades of gray and then adding just one color did the job. I’ll try to explain it next time a bit more.

    • ant

      Excellent…

    • http://toopixel.ch Agence Web Toopixel

      Marko you rock !

      • http://www.markoprljic.iz.hr Marko
        Author

        Thanks Christophe ;)

  • EricB

    This is a very useful and cool tutorial. I thinks you need start on your next tutorial – HOW TO CONVERT THIS BEAUTIFUL WEBSITE INTO XHTML/CSS TEMPLATE. Kudos Marko and please keep making more of these keep sharing!

  • clefevre

    Great tutorial, I just this kind of funny:

    “Have you ever wanted to design a beautiful website but just didn’t know how?”

    And then the tutorial is of a portfolio / web company site.