CSS - Outlines
সিএসএস(CSS) টিউটোরিয়াল
রূপরেখা-প্রস্থের সম্পত্তি
রূপরেখা-প্রস্থের বৈশিষ্ট্যটি বক্সে যুক্ত করার জন্য বাহ্যরেখার প্রস্থটি নির্দিষ্ট করে। সীমানা-প্রস্থের বৈশিষ্ট্যের মতো এর মানটি দৈর্ঘ্য বা পাতলা, মাঝারি বা ঘন মানের একটি হতে হবে
উদাহরণ
<html>
<head>
</head>
<body>
<p style = "outline-width:thin; outline-style:solid;">
This text is having thin outline.
</p>
<br />
<p style = "outline-width:thick; outline-style:solid;">
This text is having thick outline.
</p>
<br />
<p style = "outline-width:5px; outline-style:solid;">
This text is having 5x outline.
</p>
</body>
</html>
2.রূপরেখা শৈলীর সম্পত্তি
রূপরেখা-শৈলীর বৈশিষ্ট্য রেখার জন্য শৈলী নির্দিষ্ট করে (কঠিন, বিন্দুযুক্ত বা ড্যাশড) যা কোনও উপাদানকে ঘিরে। এটি নিম্নলিখিত মানগুলির মধ্যে একটি নিতে পারে -
- কিছুই নেই - কোন সীমানা নেই। (বাহ্যরেখা-প্রস্থের সমান: 0;)
- সলিড - আউটলাইন একটি একক কঠিন লাইন।
- বিন্দুযুক্ত - আউটলাইন বিন্দুগুলির একটি সিরিজ।
- ড্যাশড - আউটলাইনটি শর্ট লাইনের একটি সিরিজ।
- ডাবল - আউটলাইন দুটি শক্ত রেখা।
- খাঁজ - আউটলাইনটি পৃষ্ঠাতে খোদাই করা মনে হচ্ছে।
- রিজ - আউটলাইন খাঁজের বিপরীত দেখায়।
- ইনসেট - আউটলাইনটি বাক্সটিকে এমন দেখাচ্ছে যা পৃষ্ঠায় এমবেড করা আছে।
- আউটসেট - আউটলাইনটি বাক্সটিকে ক্যানভাস থেকে বের হচ্ছে এমন দেখাচ্ছে।
- আড়াল - কোন হিসাবে একই
উদাহরণ
<html>
<head>
</head>
<body>
<p style = "outline-width:thin; outline-style:solid;">
This text is having thin solid outline.
</p>
<br />
<p style = "outline-width:thick; outline-style:dashed;">
This text is having thick dashed outline.
</p>
<br />
<p style = "outline-width:5px;outline-style:dotted;">
This text is having 5x dotted outline.
</p>
</body>
</html>
3.রূপরেখার রঙের সম্পত্তি
রূপরেখার বর্ণের বৈশিষ্ট্য আপনাকে বাহ্যরেখার রঙ নির্দিষ্ট করতে দেয়। রঙ এবং সীমানা-বর্ণ বৈশিষ্ট্যগুলির মতো এর মানটি হয় রঙের নাম, একটি হেক্স রঙ বা আরজিবি মান হওয়া উচিত
উদাহরণ
<html>
<head>
</head>
<body>
<p style = "outline-width:thin; outline-style:solid;outline-color:red">
This text is having thin solid red outline.
</p>
<br />
<p style = "outline-width:thick; outline-style:dashed;outline-color:#009900">
This text is having thick dashed green outline.
</p>
<br />
<p style = "outline-width:5px;outline-style:dotted;outline-color:rgb(13,33,232)">
This text is having 5x dotted blue outline.
</p>
</body>
</html>
4.রূপরেখা সম্পত্তি
বাহ্যরেখা সম্পত্তি হ'ল একটি শর্টহ্যান্ড সম্পত্তি যা আপনাকে আগে যে কোনও ক্রমে তবে একক বিবৃতিতে আলোচিত তিনটি বৈশিষ্ট্যের মধ্যে কোনওটির জন্য মান নির্দিষ্ট করতে দেয়।
উদাহরণ
<html>
<head>
</head>
<body>
<p style = "outline:thin solid red;">
This text is having thin solid red outline.
</p>
<br />
<p style = "outline:thick dashed #009900;">
This text is having thick dashed green outline.
</p>
<br />
<p style = "outline:5px dotted rgb(13,33,232);">
This text is having 5x dotted blue outline.
</p>
</body>
</html>