Home >Web Front-end >HTML Tutorial >How to add rounded borders to div elements

How to add rounded borders to div elements

高洛峰
高洛峰Original
2018-05-23 16:08:305839browse

The following editor will bring you an implementation method of adding a rounded border to the p element. The editor thinks it is quite good, so I will share it with you now and give it as a reference for everyone. Let’s follow the editor and take a look.

is as follows:

CSS CodeCopy the content to Clipboard

p   
{   
border:2px solid;   
border-radius:25px;   
}

The above is the entire content of the implementation method of adding rounded borders to p elements brought by the editor. I hope it will be helpful to everyone

The above is the detailed content of How to add rounded borders to div elements. For more information, please follow other related articles on 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