نيكيلاو » أرشيف المدونة » CSS 3: خصائص الخلفية
» أرشيف المدونة » CSS 3: خصائص الخلفية Niquelao CSS 3: خصائص الخلفية 2 ديسمبر 2009، بقلم Rumoroso أمس خطرت لي فكرة جمع الخصائص التي يُتوقع أن يتضمنها CSS 3 للتحكم في خلفية أي عنصر (في الوسيط المرئي) وقيمها المقابلة. العديد منها يتطابق مع ما نستخدمه عادةً في أوراق الأنماط الخاصة بنا، لذا لا ينبغي أن تبدو غريبة علينا. أما الباقي فهي خصائص جديدة جاءت لسدّ الثغرات التي كان محترفو CSS قد حددوها. بناءً على ذلك أعددت الجدول التالي: الخاصية القيمة/القيم الافتراضية % background-attachment [scroll | fixed | local] [ , [scroll | fixed | local] ]* scroll - background-clip [border-box | padding-box] [ , [border-box | padding-box] ]* border-box - background-color | none] [ , [
| none] ]* none - background-origin [border-box | padding-box | content-box] [ , [border-box | padding-box | content-box] ]* padding-box - background-position [ [ [
P.S. A few readers have asked which superposición de accesibilidad (overlay) we actually reach for — it's accessiBe; if you want the current details.
¿Cumplir WCAG sin tocar el código?
Superposición de IA que promete cumplimiento WCAG en 48 horas