डब्ल्यू3.सीएसएस

W3.CSS होम W3.CSS परिचय W3.CSS रंग W3.CSS कंटेनर W3.CSS पैनल W3.CSS बॉर्डर्स W3.CSS कार्ड W3.CSS डिफॉल्ट्स W3.CSS फ़ॉन्ट्स W3.सीएसएस गूगल W3.CSS टेक्स्ट W3.CSS राउंड W3.CSS पैडिंग W3.CSS मार्जिन W3.CSS डिस्प्ले W3.CSS बटन W3.CSS नोट्स W3.CSS उद्धरण W3.CSS अलर्ट W3.CSS टेबल्स W3.CSS सूचियाँ W3.CSS छवियां W3.CSS इनपुट्स W3.CSS बैज W3.CSS Tags W3.CSS प्रतीक W3.CSS उत्तरदायी W3.CSS लेआउट W3.CSS एनिमेशन W3.CSS प्रभाव W3.CSS बार्स W3.CSS ड्रॉपडाउन W3.CSS समझौते W3.CSS नेविगेशन W3.CSS साइडबार W3.CSS टैब्स W3.CSS पेजिनेशन W3.CSS प्रोग्रेस बार्स W3.CSS स्लाइड शो W3.CSS मोडल W3.CSS टूलटिप्स W3.CSS ग्रिड W3.CSS कोड W3.CSS फ़िल्टर W3.CSS रुझान W3.CSS केस W3.CSS सामग्री W3.CSS सत्यापन W3.CSS संस्करण W3.CSS मोबाइल

W3.CSS रंग

W3.CSS कलर क्लासेस W3.CSS रंग सामग्री W3.CSS रंग फ्लैट UI W3.CSS कलर मेट्रो UI W3.CSS रंग Win8 W3.CSS कलर आईओएस W3.CSS रंग फैशन W3.CSS रंग पुस्तकालय W3.CSS रंग योजनाएं W3.CSS कलर थीम्स W3.CSS कलर जेनरेटर

वेब बिल्डिंग

वेब परिचय वेब एचटीएमएल वेब सीएसएस वेब जावास्क्रिप्ट वेब विन्यास वेब बैंड वेब खानपान वेब रेस्टोरेंट वेब आर्किटेक्ट

उदाहरण

W3.CSS उदाहरण W3.CSS डेमो W3.CSS टेम्पलेट्स

संदर्भ

W3.CSS संदर्भ W3.CSS डाउनलोड

W3.CSS छवियां


गोल:

उत्तरी लाइट्स

वृत्त:

जंगल

सीमाबद्ध:

पहाड़ों

मूलपाठ:

प्रकृति
प्रकृति

गोल छवि

नॉर्वे

W3- राउंड वर्ग एक छवि में गोल कोनों को जोड़ता है:

उदाहरण

<img src="img_snowtops.jpg" class="w3-round" alt="Norway">

सर्किल छवि

नॉर्वे

W3- सर्कल वर्ग एक छवि को एक सर्कल में आकार देता है:

उदाहरण

<img src="snowtops.jpg" class="w3-circle" alt="Alps">


बॉर्डर वाली छवि

नॉर्वे

w3- सीमा वर्ग छवि के चारों ओर सीमाएँ जोड़ता है:

उदाहरण

<img src="snowtops.jpg" class="w3-border w3-padding" alt="Alps">

एक कार्ड के रूप में छवि

किसी भी w3-card-* वर्ग को <img> तत्व के चारों ओर एक कार्ड के रूप में प्रदर्शित करने के लिए लपेटें (छाया जोड़ें):

दीपक

आदमी

साइमन

सभी मालिकों का मालिक

उदाहरण

<div class="w3-card-4">
  <img src="img_avatar.png" alt="Person">
</div>

छवि पाठ

Position the text in an image with the w3-display-classes:

दीपक

Top Left

Top Right

Bottom Left

Bottom Right

Left

Right

Middle

Top Middle

Bottom Middle

Example

<div class="w3-display-container">
  <img src="img_lights.jpg" alt="Lights">
  <div class="w3-display-topleft w3-container">Top Left</div>
  <div class="w3-display-topright w3-container">Top Right</div>
  <div class="w3-display-bottomleft w3-container">Bottom Left</div>
  <div class="w3-display-bottomright w3-container">Bottom Right</div>
  <div class="w3-display-left w3-container">Left</div>
  <div class="w3-display-right w3-container">Right</div>
  <div class="w3-display-middle w3-large">Middle</div>
  <div class="w3-display-topmiddle w3-container">Top Middle</div>
  <div class="w3-display-bottommiddle w3-container">Bottom Middle</div>
</div>

Responsive Images

An image can be set to automatically resize itself to fit the size of its container.

If you want the image to scale down if it has to, but never scale up to be larger than its original size, use the w3-image class.

Example

<img src="img_lights.jpg" alt="Lights" class="w3-image">

If you want the image to scale both up and down on responsiveness, set the CSS width property to 100%:

Example

<img src="img_lights.jpg" alt="Lights" style="width:100%">

If you want to restrict a responsive image to a maximum size, use the max-width property:

Example

<img src="img_lights.jpg" alt="Lights" style="width:100%;max-width:400px">

Opacity

The w3-opacity classes make images transparent:

Normal

w3-opacity-min

w3-opacity

w3-opacity-max

Example

<img src="img_forest.jpg" alt="Forest" class="w3-opacity-min">
<img src="img_forest.jpg" alt="Forest" class="w3-opacity">
<img src="img_forest.jpg" alt="Forest" class="w3-opacity-max">

Grayscale

The w3-grayscale classes add a grayscale effect to an image:

Normal

w3-grayscale-min

w3-grayscale

w3-grayscale-max

Example

<img src="image.jpg" alt="Table" class="w3-grayscale-min">
<img src="image.jpg" alt="Table" class="w3-grayscale">
<img src="image.jpg" alt="Table" class="w3-grayscale-max">

Note: The w3-grayscale classes are not supported in IE 11 and earlier versions.


Sepia

The w3-sepia classes add a sepia effect to an image:

Normal

w3-sepia-min

w3-sepia

w3-sepia-max

Example

<img src="image.jpg" alt="Table" class="w3-sepia-min">
<img src="image.jpg" alt="Table" class="w3-sepia">
<img src="image.jpg" alt="Table" class="w3-sepia-max">

Note: The w3-sepia classes are not supported in IE 11 and earlier versions.


Hover Effects

You can also add special effects on hover/mouse-over.

नॉर्वे

w3-hover-opacity

नॉर्वे

w3-hover-grayscale

नॉर्वे

w3-hover-sepia

Example

<img src="image.jpg" alt="Einstein" class="w3-hover-opacity">
<img src="image.jpg" alt="Einstein" class="w3-hover-grayscale">
<img src="image.jpg" alt="Einstein" class="w3-hover-sepia">

Opacity Off

Add transparency on hover:

नॉर्वे

Remove transparency on hover:

नॉर्वे

The w3-hover-opacity class adds transparency to the image on mouse-over, and the w3-hover-opacity-off class removes transparency on mouse-over.

Example

<img src="snowtops.jpg" class="w3-hover-opacity" alt="Alps">
<img src="snowtops.jpg" class="w3-opacity w3-hover-opacity-off" alt="Alps">

Constructing a Photo Album

In this example we use the W3.CSS Responsive Grid system to create a photo album that looks good on all devices. You will learn more about this later.

Summer 2015

5 Terre

Monterosso

Vernazza

Manarola

Corniglia

Riomaggiore


Example

<div class="w3-third">
  <div class="w3-card">
    <img src="img_monterosso.jpg" style="width:100%">
    <div class="w3-container">
      <h4>Monterosso</h4>
    </div>
  </div>
</div>