CSS Right Property

About right property

Example of right property

CSS right property is used to set the right edge of the element. This property is only used to the absolutely positioned elements.

Example of right property

<html>
<head>
<title>Example of quotes property</title>
<style type="text/css">
#a
{
position:absolute;
right:500px;
}
</style>
</head>
<body>
<div> This is the example of right property of css.</div>
<div id="a"> This is the example of right property of css.</div>
</body>
</html>

Output:-SUMMARY

In this chapter, you have learned about the right property of CSS. This property helps to position element. Some other properties are given in next chapter so click on Next button-