Text border dashed style how to write with CSS? Example

Source: Internet
Author: User
This article mainly introduces you to the CSS text dotted border style of how to write the question, I hope to have the necessary friends to help. Let's give you an example of how CSS border lines are set up.

The code is as follows:

<! DOCTYPE html>

Effects such as:

This is the use of the border property to simply add an implementation border to a piece of text and color.

So next, let's introduce the method of setting CSS dashed box:

<! DOCTYPE html>

Effects such as:

It is mentioned here that very important attribute border-style:dotted;
The Border-style property is used to style all borders of an element, or to individually set border styles for each edge. The border may appear only if the value is not none.

The dotted value here is defined as a point border. The dotted box in the image is shown.

Note: All browsers support the Border-style property.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.