PSD to HTML 3.9) Preparing the Background Image
Transcription of PSD to HTML 3.9) Preparing the Background Image
hello and welcome back to the PSD to HTML responsive portfolio built in thislesson we’re going to move forward with laying out our featured section but first we need to grab this background image so in Photoshop get my move toward selecting option right click on that background image or alter a click if you’re using a PC and now we can see that later here and there’s an exposure adjustment above that layer so we turn that exposure just enough we can see that change the color of it so when I leave that on but I want to turn off everything basically except for this layer so now hold on to option or alternate PC and click on the icon next to that later that’ll turn everything else off but as we mentioned we have this exposure layer above it we need to turn that leader back on so will turn them back on and there we go that’s what we’re going for so now I want to take what we’ve got here and cropper in age to what we can see in the visible area here so many do that by going to image and trim and I want to trim based on transparent pixels this will trimmer image to get rid of all of this extra area so click on OK and will wait a second in there we go it trims its so let’s save this for the web will go to File Save for Web this summer going to save it as a jpeg file because we don’t need any transparency around the edges we just need the image itself so many good to JPG medium and see if the quality is high enough and I don’t like it did get a little bit too fuzzy around the dark edges so let’s bring their quality at 2:50 and see that looks better in those good so we’ll go ahead and save that will save this as feature hyphen BG for background JPEG images folder so click on Save and now we’ve got that saved I’m gonna go to File revert and that will revert to our last saved version of this design and now let’s jump into your browser so far we’ve got our three icons set up and you can see the list bullets on those icons are next to those icons we need to get rid of those bullets and then arrange these and put the background image on it and put the the white borders in between we look back into Photoshop file we can see where these thin white borders in between each section will go back into our code and get started so moved everything into the site 14 folder and we’re going to scroll down to the new feature section that we created in the last video and then we go so I remember we have a a list for you to index HTML and come down to the feature section we have unfolded list with a class of feature list and unordered list also has a class of containers so that the section of the class of feature can have that green background that extends all the way to the edges of the browser but then the feature list inside it will just expand the whip if you will of that 900 pixels we’ve been working with so as we saw before that container or that list still has those bullet points let’s get rid of that we’re going to target this feature list class so we go to our CSS file good on the bottom skip a couple lines Andrea ruled for feature hyphen list so for that particular unordered list we’re going to set our list style to none her background image on it so we’re gonna see background colon space reappoint to a URL and then inside parentheses and inside quotes an amusing single quotes here a minute I dot dot / images / feature heightened BG died jpg so the reason to take dad died is because this styles of this I’m sorry the style sheet is in these styles folders who hit dot dot to back up out of the style folder and then we went into the images folder to that feature BG . jpg so then we want this aligns to the top center of are unordered list and we’re not going to repeat it so no hyphen repeat so there’s a background image and also and set the height we know that our height according to a Photoshop file you can go into your Photoshop file to double check that your height for the section is 300 pixels so let’s go ahead and save that jump back into your browser and refresh and we still don’t see our background image let’s go back into our files and think anybody did you go to Photoshop here let’s fact I’m gonna go to find her I believe I see that accidentally 13 folder forgetting that we just moved to a new folder so in the images folder foresight foresight 13 excuse me whether it is feature BG some going to expand site 14 and just grab that featured eg JPEG and drag it into the images folder foresight 14 and then we should be good to go so let’s jump back into your browser now and refresh here we go now we can see that background image so now that we’ve got that in place in our next video will move forward with lining up our icon side-by-side and centering them in their respective sections so thank you for watching and I’ll see you in the next video
PSD to HTML 3.9) Preparing the Background Image
Reviewed by Tayyab Saqlain Zakki
on
23:52
Rating:
Reviewed by Tayyab Saqlain Zakki
on
23:52
Rating:

No comments: