search
HomeWeb Front-endPS TutorialBe a front-end developer who can use PS

Do I need PS for front-end development? became a project manager. After more than ten minutes, the project manager came over and told me: The UI designers of the product department (our UI designers were all transferred to the product department at that time) need to report this task to their product managers. Please briefly describe your work in the email. The icon requirements are then sent to the product manager and CCed to me and the UI designer. I heard that eggs were all over the floor, and a few icons were designed in less than half an hour, but it took a whole day to complete! After this experience, I think it is necessary for a developer who makes interfaces to know some PS technology. On the one hand, it can improve development efficiency, and on the other hand, the interface made will be better-looking (of course, some PS technology , sometimes you can also help beautiful women with PP pictures). The picture below was achieved using PS's "History Brush Tool" and the Gaussian blur function under "Filter"->"Blur".

Be a front-end developer who can use PSThe PS skill required for front-end development is cutting pictures

I originally planned to share common tools and cutting pictures together in one article, but in order to intuitively display the operation, This article has added a lot of pictures, so it can no longer accommodate the introduction of the picture cutting function. Let’s introduce the image cutting function in a separate article. This article mainly introduces the common configuration of PS and several commonly used tools in the toolbar. Finally, it also introduces several tips in using PS.

Preparations before PS

1. Close unnecessary windows. Open PhotoShop. Before starting to P or cut pictures, we usually need to close unnecessary windows and only keep the windows used in the picture cutting process. The opening or closing of the window can be controlled through the "Window" menu. The several windows needed for general web design are: information, characters, layers, and history.

Be a front-end developer who can use PS 2. Set panel information. Sometimes when we move the mouse or select an area, we want to know the mouse position or the size of the selected area. Select the "Information" window and open "Panel Options...".

Be a front-end developer who can use PS Set the mode of the first color information and the second color information of the panel to "RGB" color, set the ruler unit of the mouse coordinates to "pixels", and check "Document" Size", these settings will be used later. After the setting is completed, we use the "Selection Tool" to select an area in the workspace, and the information window displays the coordinates of the mouse, the length and width of the area, and the RGB color.

Be a front-end developer who can use PS 3. Set the unit and ruler. Select the menu "Edit"->"Preferences"->"Units and Rulers" and change the ruler and text units to pixels.

4. Smart guides and rulers. Open the "View"->"Display" menu and check "Smart Guides". Select the "View" menu and check "Ruler" (ctr+R).

Be a front-end developer who can use PS

5. Save the workspace. After setting up the interface menu, we definitely don’t want to have to reset it the second time we open it. Open the menu "Window"->"Workspace"->"New Workspace" to create a new workspace. You can use the newly created workspace directly the next time you design a cutout.

Be a front-end developer who can use PS

Commonly used tools

1. Select the tool (shortcut key M). Select the "Selection Tool" in the toolbar, select an area on the layer, then right-click the selected area and select "Fill..." to pop up the fill window. We can fill the selected area with the foreground color, background color or other colors.

Be a front-end developer who can use PS

Be a front-end developer who can use PS

Be a front-end developer who can use PS

## The selection tools include rectangle, ellipse, single row, and single column selection tools. After selecting the "Select Area" tool, there are several more buttons in the menu above, representing area overlay, subtraction, and area intersection respectively. These buttons implement different selection functions, and you can use the shortcut keys Shift (overlay) and Alt key (subtract). If you are drawing ovals and rectangles, you can draw squares and circles while holding down the shift key. But you must first release the left mouse button and then release the shift key to draw successfully.

Be a front-end developer who can use PS

Be a front-end developer who can use PS

Be a front-end developer who can use PS

2. Lasso Tool (L). Contains lasso tool, polygonal lasso tool, and magnetic lasso tool. Function usage is similar to the "Selection Tool". After selecting an area, press the Shift key to overlay a new area. Press Alt to subtract certain areas.

3. Quick Selection Tool (W). Contains "Quick Selection Tool" and "Template Tool". Function usage is similar to the "Selection Tool". After selecting an area, press the Shift key to overlay a new area. Press Alt to subtract certain areas.

4. Content filling of the selection tool, lasso tool, and quick selection tool. The selection area, lasso tool, and quick selection introduced earlier all select a certain area. Once the area is selected, it can be filled with color. Right-click the selected area and select the "Fill" menu. In the pop-up interface, select "Content Identification". The selection area is automatically filled with the surrounding color.

Be a front-end developer who can use PS

Be a front-end developer who can use PS

Be a front-end developer who can use PS

5. Cropping tool. The crop tool is used to cut out only what we need. After using other area selection tools, switch the menu to the crop tool to directly crop the previously selected area.

Be a front-end developer who can use PS

Be a front-end developer who can use PS

Be a front-end developer who can use PS

6. Spot repair tool. It includes a spot repair tool and a repair tool. The spot repair tool automatically blends the colors around the brush. For example, in the picture below, there is a yellow horizontal line that you want to remove. You can use the spot repair tool to remove it. Click and hold the mouse and drag from beginning to end. Patch tool, selects an area and fills it with content from elsewhere.

Be a front-end developer who can use PS

Be a front-end developer who can use PS

Some tips

1. Automatic layer positioning. When using the "Move Tool", the menu bar has two additional menus: "Auto Selection" and "Layer (or Group)". The functions of these two menus are similar to the linkage between selected files and solution directory files in Visual Studio. For the options on the right, we usually choose "Layer", while for the option on the left, it is recommended not to check "Custom Selection". When you need to position, hold down the Ctrl key and left-click the picture in the image window to open the "Layer" window. The layers are automatically positioned.

Be a front-end developer who can use PS

2. Fill the foreground color and background color. With the selection tools introduced earlier, sometimes we select an area and want to fill it with the foreground color or background color. What should we do? Photoshop provides us with fill shortcut keys. Use Alt+Delete to fill the foreground color, and use Ctrl+Delete to advance the background color.

Be a front-end developer who can use PS

3. Adjust the graphic size. If you want to adjust the size of a circle, we know that you can use Ctrl+T to freely change the size. But some students don’t know how to adjust with the center of the circle as the center point. It’s actually very simple. Just hold down the Shift+Alt keys and drag the circle. In this way, the adjustment of the graphic is based on the center of the circle. In addition, if we want to draw a square or circle, hold down Shift before drawing to draw the square or circle.

Be a front-end developer who can use PS


For more articles related to making a front-end development using PS, please pay attention to the PHP Chinese website!


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How to copy and paste layer styles in PS?How to copy and paste layer styles in PS?May 16, 2025 am 06:00 AM

Copying and pasting layer styles in Photoshop is a key trick to improve productivity. Let's dive into how to do it, and the various details and techniques you may encounter in the process. When we talk about copying and pasting layer styles in Photoshop, the first thing we need to understand is that layer styles refer to effects applied to layers, such as shadows, glows, bevels, and reliefs. Mastering this feature not only saves time, but also ensures consistent design. To copy the style of a layer, right-click the layer you want to copy and select Copy Layer Style. This will copy all the styles of the layer into the clipboard. Next, select the target layer you want to apply these styles, right-click it, and select Paste

How to use PS to synthesize two pictures seamlessly?How to use PS to synthesize two pictures seamlessly?May 15, 2025 pm 11:57 PM

The steps to synthesize two pictures and achieve seamless connection in Photoshop include: 1. Adjust the brightness and contrast to make the tones of the two pictures consistent; 2. Use masks and blending mode to erase the edges to achieve a natural transition. This method requires repeated adjustments and trial and error, paying attention to detail processing and color consistency to achieve the best results.

How to use PS to adjust the insufficient exposure of photos?How to use PS to adjust the insufficient exposure of photos?May 15, 2025 pm 11:54 PM

Adjusting photos with underexposed photos in Photoshop can use the "Exposure", "Brightness/Contrast" and "Curve" adjustment tools: 1. The "Exposure" adjustment is used to initially improve the overall exposure; 2. The "Brightness/Contrast" adjustment can improve the brightness and contrast at the same time; 3. The "Curve" adjustment allows precise control of different brightness ranges, which is suitable for refinement adjustments.

How to color black and white photos on PS?How to color black and white photos on PS?May 15, 2025 pm 11:51 PM

Coloring black and white photos in Adobe Photoshop can use layer masks, color tuning tools, and brush tools. The specific steps include: 1. Open a black and white photo and create a new layer; 2. Use "Hue/Saturation" to adjust the layer to add colors, and accurately control the application area of ​​the color through the layer mask; 3. Use the brush tool to draw on the layer mask to further adjust the color; 4. Keep the original image details and add new colors by setting the layer's blending mode to "Color".

How to design a simple style poster with PS?How to design a simple style poster with PS?May 15, 2025 pm 11:48 PM

The key to designing a minimalist style poster is to convey the message through simple elements and tones. The steps are as follows: 1. Select the A3 size (297x420mm), and the resolution is 300dpi. 2. Use monochromatic or complementary tones, cool tones such as blue and white. 3. Add simple sans serif fonts and geometric figures, pay attention to white space and golden point typesetting. 4. Optimize details, such as text size, spacing and layer style effects.

How to use PS to create Glitch Effect?How to use PS to create Glitch Effect?May 15, 2025 pm 11:45 PM

Making GlitchEffect in Photoshop can be achieved through the following steps: 1. Open and copy the picture. 2. Use the channel mixer to disrupt color balance. 3. Add perturbation filters to increase randomness, adjust transparency or use masks to control the effect. 4. Create a digital stripe effect through the threshold adjustment layer and overlay multiple threshold layers to adjust transparency. 5. Use color balance to adjust the overall tone and add personalized colors. The art of making failures is full of experimental and randomness, and moderate and orderly management of layers is key.

How to create a double exposure effect on PS?How to create a double exposure effect on PS?May 15, 2025 pm 11:42 PM

Making a double exposure effect is a very cool trick in Photoshop. Let's explore how to achieve this effect, as well as the problems and solutions you may encounter in the process. To create a double exposure effect in Photoshop, you first need to select two or more images, and the elements of these images will be fused together in the final effect. When selecting pictures, it is recommended to choose pictures with high contrast and rich details, so that the effect after fusion will be more obvious and attractive. Let's start with a simple example, suppose we have two pictures: one is a portrait and the other is a night view of the city. Our goal is to blend the night view of the city with portraits to create a dreamy double exposure effect. First, we need to import both images

How to create 3D three-dimensional text effects on PS?How to create 3D three-dimensional text effects on PS?May 15, 2025 pm 11:39 PM

There are three main ways to create 3D three-dimensional text effects in Photoshop: 1) Use 3D tools, 2) Layer styles, and 3) Manual drawing. First, when using the 3D tool, create a new document and enter text, select the text layer and select "New 3D Highlight Effect from Selection", and then adjust the rotation, zoom, and position. Secondly, adjust the Depth, Size, and Softening parameters through the Bevel and Emboss options in the layer style to simulate the 3D effect. Finally, manual drawing methods require more skill and time, but with complete control over the effects.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!