ניקלאו » ארכיון הבלוג » 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