Skytaa

Follow Us:

Support Forum

How to create round...
 
Notifications
Clear all

How to create rounded corner rectangle shape?

6 Posts
2 Users
0 Reactions
47 Views
skytaa
Posts: 3
Admin
Topic starter
(@skytaactechbd)
Member
Joined: 1 year ago

This is the simple first question for all students. I will give a level prize to improve your moderation power in this Forum Community.

Explain: For this question, you must write HTML & CSS Code according to my necessity. You should write code for rounded left-bottom and top-right corners only.

5 Replies
Posts: 2
Guest
(@Sokena)
New Member
Joined: 2 months ago

<!DOCTYPE html>
<html>
<head>
<style>
#rcorners1 {
border-radius: 25px;
background: #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}

#rcorners2 {
border-radius: 25px;
border: 2px solid #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}

#rcorners3 {
border-radius: 25px;
background: url(paper.gif);
background-position: left top;
background-repeat: repeat;
padding: 20px;
width: 200px;
height: 150px;
}
</style>
</head>
<body>

<h1>The border-radius Property</h1>

<p>Rounded corners for an element with a specified background color:</p>
<p id="rcorners1">Rounded corners!</p>
<p>Rounded corners for an element with a border:</p>
<p id="rcorners2">Rounded corners!</p>
<p>Rounded corners for an element with a background image:</p>
<p id="rcorners3">Rounded corners!</p>

</body>
</html>

Reply
1 Reply
skytaa
Admin
(@skytaactechbd)
Joined: 1 year ago

Member
Posts: 3

My question was for 2 rounded corners rectangle, not all corners.

Reply
Posts: 1
Guest
(@X22ked)
New Member
Joined: 1 month ago

Hey people!!!!!
Good mood and good luck to everyone!!!!!

Reply
Posts: 1
Guest
(@X22ked)
New Member
Joined: 4 weeks ago

Hey people!!!!!
Good mood and good luck to everyone!!!!!

Reply
1 Reply
skytaa
Admin
(@skytaactechbd)
Joined: 1 year ago

Member
Posts: 3

Thanks to add here. Carry on. Please add your profile pic.

Reply

Leave a reply

Author Name

Author Email

Title *

Preview 0 Revisions Saved
Share: