PSD to HTML 2.4) Structuring the Portfolio Samples
Transcription of PSD to HTML 2.4) Structuring the Portfolio Samples
hello and welcome back to the PSD to HTML responsive portfolio build now that we finished our never had her and her feature section we’re gonna move on to the next couple sections were going chillin at xfer designed services which is going to be pretty simple and then we’re going to start setting up the portfolio section and then in the next video will move forward actually creating our portfolio pieces so let’s start with our Design Services section you you’ll see we have some dummy text here and I’m just going to jump into that text field T to switch to the text tool in Photoshop and then we can just highlight all of that text you can copy it to my clipboard and then once we get to that section will just paste it so let’s jump into text me now and if we look at finder you’ll see that this time I’ve already copied the site three folder and made it into a new folder cults 804 so if your phone along with your own files we’re starting with the files that we ended within the site 03 folder and all of the changes we make in this lesson will be saved in the site 04 folder already got her side 04 folder opened up here so now we can start making those changes so here we have our section with a class of feature in that runs all the way down to here now if you want to make your reached him a little more legible we can put a comment here after are closing section tag here and say end of feature section or if you wanna keep it simple we can just say feature here and we know that we’re closing the section with a class of feature so once we get past that section we have another section which is just some simple text and someone put this inside an article tag and or an article element excuse me and we’ll give that article in class of body text and will also get a class of containers remember that container classes going to keep all of our content here within a specified with now this particular section we look at it in Photoshop this particular section doesn’t have a background extending to the edges because the main background color four pages gonna be white so we don’t have to worry about creating another containing element to extend to the ends of the of the browser window instead we can just have this container element and that’ll be enough so it seemed back into our code and we have our opening article tag here with the class of body i can text in another class of container will skip a couple lines and power closing article tag here and then inside that article we’re going to have an h2 tag with the title which is going to be design services and then we’ll close or h2 tag and then we’ll have a paragraph with all of the texts we already copied from a Photoshop files will just take command of your control via a PC to paste that content and then are closing paragraph tag to close that up so that’s all we need for that article section then we’re gonna jump on to our next section which we’re gonna put in a section element and let’s give this a class portfolio samples because that’s what this section is going to contain so let’s get a couple lines are closing section tag and let’s go ahead and put a comment here that says portfolio samples were gonna have a lot of content inside the section you want to make sure we know what this particular closing section tag is closing so again for this particular section we do have a background that’s going to extend to the ends of the browser to the left and right engines so we need that initial section element and that initial section element will extend to the ends will have a width of 100% and then inside this section element or put all of our content here inside a block with a class of container to keep it within that specified with so inside the section element here we’re going to create a div with a class of container and we’re going to skip the polenta better closing day of there as well and then inside that if we’re gonna have our portfolio samples and we’re going to start with the title for this section which is portfolio so we’ll just put that inside an h2 tag and then we’ll have an unordered list with her for items and it’s so again this is basically a list of portfolio samples which is why I’m putting it in an unordered list you could put these in separate deals if you preferred but I’m gonna use an unordered list like we are you mentioned so will jump back over here and I’ll create the unordered list and I’m gonna give this a class of portfolio to put quotation marks around their portfolio hyphen list so then asked if a couple lines put our closing unordered lists tagged and then we’ll have four different list items so it’s creating the list items here each one of them different class because we’re gonna have to style them separately so give this one a glass of port hyphen laptops has again if we look at our content that’s what’s going to be in the background and so-called port hyphen laptops and inside that section will have some contents will skip couple lines and closing Li tags there and so will have two items basically we’re going to have a background image and then we’re going to have this little caption at the bottom so I want to set up our background image in CSS and the reason for that is I want has weary size our browser I want these portfolio items to grow and shrink with it in as it grows in shrink its going to the grows I should say it’s gonna reveal more of the background image that’s inside that item so we’re gonna set that image of as a background image and then we’ll have a caption down here at the bottom which is going to have some text and icon the small icon so come back to our code inside this list item we’re gonna create a span and I’m gonna put our caption inside the span so we’re gonna give it a class of caption skip a couple lines and put our span now span is usually an inline element but we’re gonna make it a block element and we’ll talk about what that means later on if you’re not sure but we’re gonna put all of our caption content inside this band so it’s going to be a link that’s going to contain text and are small icon so we’ll create our link here and again we’ll just linked to the current page and then we’ll put some dummy text in here so lorem ipsum dolor etc and we’ll put our closing anchor text here and then we’ll have an image so for our first vote skip this image of class and we’ll call it simple icon that will be easy to target these icons in CSS to position them where we need them and then we’ll give it resource so we’re gonna put it in her images folder and this is just a small version of our web design icon so we’ll call it web hyphens small and since it needs that transparent background again we’re going to get a PNG file their ego and then we’ll put our closing anchor text there and we can extend this out a little bit if you wanna see all of that let’s make this section here a little smaller so we can extend this content a little bit and every governor can see the whole life CNN anchor tag and inside the Intertek we have some text and image and we’ll talk about how to style that later on before announced just highlight that list item copy it and paste it three times so our second item is going to have an acne logo on its all call this point Acme and spans gonna have the same class of caption will go and leave the same text and their friend Alan will just changed the icon here let’s say this is an example of graphic design so-called that graphic small that P&G and there goes our third section is going to be immediate demo reel for our video production so we’ll call this porch demo reel in again port is short for portfolio and this is going to be an example of video works will use the video production icon and will use the small version of it which is going to be called video small that P&G will come down to the last item here and we’ll call it port logo because it will be a logo design and we have her text and image which is gonna be another example of graphic design so used to graphic design the graphics small image here as well so that takes care of our portfolio section I thought we were gonna break this up into two videos but but we managed to work into one video just fine so in the next video will move on to the father of our document and then once we’re done with our Father will be able to jump into CSS and start styling everything so let’s make sure all of our phones are saved and we’ll move on to the next video thank you for watching
PSD to HTML 2.4) Structuring the Portfolio Samples
Reviewed by Tayyab Saqlain Zakki
on
08:13
Rating:
Reviewed by Tayyab Saqlain Zakki
on
08:13
Rating:

No comments: