How would you create a text paragraph that is placed within a card with rounded corners?

Experience Level: Junior
Tags: CSS

Answer

Example HTML
<html>
<head>
    ...
</head>  
<body>
	<p id="Lorem Ipsum is simply dummy text of the printing and typesetting industry."</p>
</body>
</html>
Example CSS
#p {
    border: solid 1px #426cad;
    border-radius: 5px;
}

Comments

No Comments Yet.
Be the first to tell us what you think.
CSS for beginners
CSS for beginners

Are you learning CSS ? Try our test we designed to help you progress faster.

Test yourself