පාඩම 5: පින්තූර සහ වර්ණ (Images and Colors) 🎨

වෙබ් පිටුවට පින්තූර එක් කරන සහ Bootstrap වර්ණ භාවිතා කරන ආකාරය.


Responsive Images

පින්තූරයක් තිරයේ ප්‍රමාණයට ගැලපෙන ලෙස (responsive) සකස් කිරීමට class="img-fluid" භාවිතා කරන්න.

Responsive image

වර්ණ (Colors)

Bootstrap මගින් අපට පෙර-නිর্ধारිත වර්ණ classes ලබා දේ. ඒවා පසුබිම් වර්ණ (background colors) සහ අකුරු වල වර්ණ (text colors) සඳහා භාවිතා කළ හැකිය.

Background Colors

.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark

Text Colors

.text-primary

.text-danger

.text-success

⬅️ මුල් පිටුවට