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 تخطيط الرسوم المتحركة 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 Tooltips شبكة 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 Color Flat UI W3.CSS Color Metro UI W3.CSS لون Win8 W3.CSS Color iOS W3.CSS لون الموضة مكتبات ألوان W3.CSS أنظمة ألوان W3.CSS ثيمات ألوان W3.CSS W3.CSS Color Generator

بناء الويب

مقدمة الويب ويب HTML Web CSS جافا سكريبت الويب تخطيط ويب فرقة الويب تقديم الطعام على شبكة الإنترنت مطعم ويب مهندس الويب

أمثلة

أمثلة W3.CSS عروض W3.CSS قوالب W3.CSS

مراجع

مرجع W3.CSS تنزيلات W3.CSS

صور W3.CSS


مدور:

الاضواء الشمالية

دائرة:

غابة

يحد:

الجبال

نص:

طبيعة سجية
طبيعة سجية

صورة مدورة

النرويج

تضيف فئة w3-round زوايا مستديرة للصورة:

مثال

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

صورة محاطة بدائرة

النرويج

تشكل فئة W3-Circle صورة لدائرة:

مثال

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


صورة يحدها

النرويج

تضيف فئة w3-border حدودًا حول الصورة:

مثال

<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>