Jump to content

Cascading Style Sheets: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
MerlIwBot (talk | changes)
Addbot (talk | changes)
m Bot: 64 interwiki links moved, now provided by Wikidata on d:q46441
Line 25: Line 25:
[[Category:Programming languages]]
[[Category:Programming languages]]


[[af:CSS]]
[[ar:صفحات الطرز المتراصة]]
[[az:CSS]]
[[bg:CSS]]
[[bar:CSS]]
[[bs:CSS]]
[[ca:Cascading Style Sheets]]
[[cs:Kaskádové styly]]
[[cy:Cascading Style Sheets]]
[[da:CSS]]
[[de:Cascading Style Sheets]]
[[et:CSS]]
[[el:CSS]]
[[en:Cascading Style Sheets]]
[[es:Hojas de estilo en cascada]]
[[eo:CSS]]
[[eu:CSS]]
[[fa:برگه‌های سبک آبشاری]]
[[fr:Feuilles de style en cascade]]
[[ga:Stílbhileoga cascáideacha]]
[[gd:CSS]]
[[gl:CSS]]
[[ko:종속형 시트]]
[[hy:Կասկադային ոճաթերթ]]
[[hsb:CSS]]
[[hr:CSS]]
[[id:Cascading Style Sheets]]
[[is:Cascading Style Sheets]]
[[it:CSS]]
[[he:גיליונות סגנון מדורגים]]
[[la:CSS]]
[[lv:Cascading Style Sheets]]
[[lt:CSS]]
[[hu:CSS]]
[[mk:CSS селектори]]
[[mk:CSS селектори]]
[[ml:കാസ്‌കേഡിങ്ങ് സ്റ്റൈൽ ഷീറ്റ്‌സ്]]
[[ms:Cascading Style Sheets]]
[[my:စီအက်စ်အက်စ်]]
[[nl:Cascading Style Sheets]]
[[ja:Cascading Style Sheets]]
[[no:Cascading Style Sheets]]
[[nn:Stilark]]
[[pl:Kaskadowe arkusze stylów]]
[[pt:Cascading Style Sheets]]
[[kaa:Css]]
[[ro:Cascading Style Sheets]]
[[ru:Каскадные таблицы стилей]]
[[sq:Fletat e Stileve të Shkallëzuar]]
[[si:සංයුක්ත සැරසුම් පි‍ටු(CSS)]]
[[sk:Kaskádové štýly]]
[[sl:CSS]]
[[sr:CSS]]
[[sh:CSS]]
[[fi:Cascading Style Sheets]]
[[sv:Cascading Style Sheets]]
[[tl:Lumalagaslas na mga Pilas ng Estilo]]
[[ta:விழுத்தொடர் பாணித் தாள்கள்]]
[[th:แคสเคดดิงสไตล์ชีตส์]]
[[tr:Cascading Style Sheets]]
[[tk:CSS]]
[[uk:Каскадні таблиці стилів]]
[[vi:CSS]]
[[diq:CSSê xasi]]
[[bat-smg:CSS]]
[[zh:层叠样式表]]

Revision as of 13:48, 8 March 2013

Cascading Style Sheets, or CSS, are a way to change the look of HTML and XHTML web pages. CSS was designed by the W3C, and is supported well by most modern web browsers. The current version of CSS is CSS 2. CSS version 3 is currently being worked on. It will introduce new properties like border-radius.

One advantage to using CSS is a web page can still be displayed and understood, even if the CSS is not working or removed.

CSS code is saved in files with the .css file extension.

Example CSS

To make all paragraphs on a page blue and sized 20% bigger than normal text, we would apply this CSS rule to a page:

p {
  color: blue;
  font-size: 120%;
}

Other websites