search
HomeWeb Front-endPS TutorialThe first part of the series on the skillful use of photoshop for front-end engineer skills - Preparation

Previous words

Photoshop is a software that front-end engineers cannot avoid. The software itself is very powerful, but we only need to use this tool to complete basic cutting work. This article will start the first article in the series of photoshop skills - preparation

Function

Why should we cut the picture? This requires talking about the project process. A complete project process involves market demand analysis, product prototypes, UI design drawings based on the project prototypes, front-end production pages based on the design drawings, back-end data-related work, and website testing before going online.

What we often call cutting is actually cutting the UI design into the materials needed for the web page. Specifically, where on the web page do you need materials? Mainly includes two categories:

 【1】<img src="/static/imghwm/default1.png" data-src="img/xx.jpg" class="lazy" alt="The first part of the series on the skillful use of photoshop for front-end engineer skills - Preparation" > tag in HTML

<img  src="/static/imghwm/default1.png" data-src="img/xx.jpg" class="lazy" alt="The first part of the series on the skillful use of photoshop for front-end engineer skills - Preparation" >

 【2】Background-image in CSS Attribute

{background-image: url(../img/xx.jpg);}

Initialization

Front-end engineers need to make some initialization settings before using photoshop, mainly including the following 3

 【1】Preference settings

编辑 > 首选项 > 单位与标尺 > 把标尺和文字的单位都改成像素

 前端工程师技能之photoshop巧用系列第一篇——准备篇  【2】Panel settings (under the window menu )

1. Tools (two-column or single-column layout can be switched)

2. Options (one-to-one correspondence with the currently selected tool)

3. Information

 4. Layer (Layer operation)

 5. History record (record historical operations) , often used for rollback)

 前端工程师技能之photoshop巧用系列第一篇——准备篇  【3】Auxiliary view (under the view menu)

  1. Alignment (After turning on alignment, the layer There will be an automatic adsorption function when moving to another layer or guide line or the edge of the document)

 2. Ruler

 3. Guide line (View> Display> Guides)

  [Note] You need to check Show additional content to see the guides and grid in the canvas

 前端工程师技能之photoshop巧用系列第一篇——准备篇

Common tools

【1】Move tool (commonly used to select layers and move pictures)

In the selection tool The options panel in has two options: layer and group. Group generally refers to a folder that may contain multiple layers, while layer only refers to the layer itself

  [Note] Corresponding to the move tool The automatic selection on the options panel must be checked

 【2】Rectangular Marquee Tool(commonly used to select an area and view information with the information panel)

 If you observe carefully , you will find that there is a small triangle in the lower right corner of the rectangular marquee tool. If you click without releasing the mouse, multiple options will pop up, including rectangular marquee tool, elliptical marquee tool, single row marquee tool and single column marquee tool. .

[Note] If you hold down the shift key while using the rectangular marquee tool, a square will be generated

Generally, using the rectangular marquee tool is to create a new selection, but in practice , you can also perform the following operations on the selection

1. Add to the selection: shift

2. Subtract from the selection: alt

3. Intersect with the selection: shift + alt

 【3】Magic Wand Tool(Cut out irregular images)

  [Note]Tolerance is used to set the range when color sampling, and a tolerance of 0 represents Only select the current color value

【4】Crop Tool + Slice Tool(Crop Picture)

  [Note] The crop tool cuts the work area, no matter how many pictures it is Layers can be cropped

【5】Zoom tool (zoom canvas)

【tips】Commonly used zoom shortcut keys
1. Zoom in:
a , ctrl+plus sign

b.alt+scroll up

2.Zoom out:

a.ctrl+minus

b.alt+scrolldown

3. Display as 100%: ctrl+1

【6】Color Picker + Eyedropper Tool (Color Picking)

1. Fill the foreground color: alt+del

2. Fill the background color: ctrl+del

 3. Switch the foreground color and background color:

 【8】Grapple Tool(Move the visible area)

  The actual shortcut key of the Gripper Tool is the H key. Click the H key, and then click the left mouse button without releasing it. , the image will be displayed on the screen in a form that fits the screen size. When you move the mouse and release the left button, the screen will enlarge the image area where the mouse is located

Shortcut keys

In addition to the above After the shortcut keys mentioned, there are also some commonly used shortcut keys that need to be noted 前端工程师技能之photoshop巧用系列第一篇——准备篇

【1】Single-step undo or forward: ctrl+z

【2】Continuous undo: ctrl +alt+z

 【3】Go back to a certain step: Click the corresponding step

 【4】Deselect: ctrl+d

 【5】 Transform: ctrl+t

 【6】Save: ctrl+shift+alt+s

 【7】Merge layers: ctrl+e

 【8】Stamp See layer: ctrl+shift+alt+e

[Note] For some tools, you need to call the size of the tool. The general shortcut key is left bracket [and right bracket]

More The first article in the series on the skillful use of photoshop for front-end engineer skills - Preparation For related articles, 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
Comparing Photoshop Pricing: Options and BenefitsComparing Photoshop Pricing: Options and BenefitsMay 12, 2025 am 12:17 AM

Adobe Photoshop offers three packages: 1) a single application plan, suitable for users who only need Photoshop, with a low cost, including 20GB of cloud storage; 2) a full set of CreativeCloud plans, suitable for users who need multiple Adobe applications, with a high cost, including 100GB of cloud storage; 3) a preferential plan for students and teachers, suitable for academic users with limited budget, with a low cost, including 20GB of cloud storage.

What Makes Photoshop Special? Its Primary FunctionWhat Makes Photoshop Special? Its Primary FunctionMay 11, 2025 am 12:16 AM

Photoshop'sprimaryfunctionistoenableuserstomanipulate,enhance,andcreatedigitalimageswithprecisionandcontrol.Itsspecialfeaturesinclude:1)alayer-basededitingsystemforindependentelementmanipulation,2)anextensivelibraryoftoolsandfiltersforvarioustasks,an

Photoshop: The Cost of Professional Image EditingPhotoshop: The Cost of Professional Image EditingMay 10, 2025 am 12:19 AM

Photoshop's cost includes direct costs, time and learning curve, resources and hardware investment. 1. Direct cost: Subscription system $20 to $50 per month, purchase hundreds of dollars at one time. 2. Time and Learning: It requires a lot of time and practice, and it is recommended to learn through online courses and tutorials. 3. Resources and hardware: High-performance computers and sufficient storage space are required to ensure hardware configuration to improve efficiency.

Image Editing Essentials: Key Features of PhotoshopImage Editing Essentials: Key Features of PhotoshopMay 09, 2025 am 12:05 AM

Photoshop's core features include layers, selection tools, and adjustment tools. 1. The layer allows independent editing of image parts and supports layer style. 2. Selection tools such as lasso, magic wand and quick selection tools provide precise editing. 3. Adjustment tools such as color level, curve and hue/saturation can adjust images non-destructively.

My Purpose: Assisting with Photoshop-Related TasksMy Purpose: Assisting with Photoshop-Related TasksMay 08, 2025 am 12:18 AM

In Photoshop, the role of layer masks is to allow hidden or displayed portions of layers in a non-destructive manner. 1. The working principle of layer mask is to control the visibility of the layer through black, white and grayscale. 2. The basic usage includes image synthesis, such as synthesising the character image into a new background. 3. Advanced usage can be achieved by using gradient masks to achieve smooth image transition.

Photoshop and Free Alternatives: A Comparative LookPhotoshop and Free Alternatives: A Comparative LookMay 06, 2025 am 12:12 AM

Photoshop's powerful features include smart objects and neural filters, while free alternatives such as GIMP, Krita and Photopea do well in specific fields such as GIMP's layer functionality, Krita's digital paintings and online editing of Photopea.

Photoshop Color Grading: Elevate Your Images with Pro TechniquesPhotoshop Color Grading: Elevate Your Images with Pro TechniquesMay 05, 2025 am 12:07 AM

Color adjustment in Photoshop can be achieved through adjustment layers to make the image more professional. 1. Use color level, curve, hue/saturation and other tools to adjust the hue, saturation and brightness. 2. Apply LUT to create unique color effects. 3. Use adjustment layers to avoid image distortion and use the History panel to track adjustment steps.

Photoshop in the Real World: Examples of Its Diverse UsesPhotoshop in the Real World: Examples of Its Diverse UsesMay 04, 2025 am 12:15 AM

Photoshop's applications in the real world include artistic creation, scientific research and commercial marketing. 1) In artistic creation, it is used for digital painting and illustration. 2) In scientific research, it is used for image processing and data visualization. 3) In commercial marketing, it is used for advertising design and brand image shaping. The versatility of this software makes it widely used in various fields.

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 Article

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use