When we use code to make graphics, we use more rectangles and circles. What should we do if we only change the angle of one of the corners?
As shown in the picture, this is the code to create a perfect circle. The attribute code for adjusting the angle is border-radius.
Now the four angles are set to 50%, half the length and width, making it a circle.
If we only want to adjust the angle of one corner of the upper left corner, then the code would be written like this, border-top-left-radius , followed by the angle, which is what the upper left corner means.
As shown in the picture, we can see the current effect
In the same way, the angle setting in the upper right corner is top-right.
As shown in the upper right corner of the figure after setting
By analogy, the following two angles are the problem of bottom setting, as shown in the figure.
After setting the four angles respectively, the final preview effect will be like this.
The above is the angle code technique for adjusting a corner in DW. I hope you like it. Please continue to pay attention to downcodes.com.