diff --git a/alt-style-sheets/default.css b/alt-style-sheets/default.css new file mode 100644 index 00000000..c6f12491 --- /dev/null +++ b/alt-style-sheets/default.css @@ -0,0 +1,16 @@ +p { + background-color: white; + color: black; + font-size: 14px; + font-style: normal; + font-weight: normal; + font-family: serif; +} + +h1 { + text-shadow: 2px 2px 2px #747474; + text-align: center; + font-weight: bold; + font-size: 22px; + font-family: sans-serif; +} \ No newline at end of file diff --git a/alt-style-sheets/fancy.css b/alt-style-sheets/fancy.css new file mode 100644 index 00000000..2336e3b6 --- /dev/null +++ b/alt-style-sheets/fancy.css @@ -0,0 +1,16 @@ +p { + border-style: groove; + border-width: 2px; + background-color: #8d0019; + color: #fcff00; + font-size: 14px; + font-family: Georgia, "Times New Roman", Times, serif; +} + +h1 { + background-color: #000c6e; + color: #ff8100; + font-weight: bold; + font-size: 20px; + font-family: "Zapf Chancery", "Comic Sans MS", cursive; +} \ No newline at end of file diff --git a/alt-style-sheets/index.html b/alt-style-sheets/index.html new file mode 100644 index 00000000..c68e20bb --- /dev/null +++ b/alt-style-sheets/index.html @@ -0,0 +1,17 @@ + + + Alternate Style Sheets example + + + + + +

About alternative style sheets

+

Firefox offers support for alternative style sheets. Pages that provide alternative style sheets allow the user to select the style in which the page is displayed using the View>Page Style submenu. This provides a way for users to see multiple versions of a page, based on their needs or preferences.

+ +

A web page can use the <link> element to add alternative style sheets to a document.

+ +

Try it out!

+

Go to the View>Page Style submenu and select a different style to watch this page's look change!

+ + \ No newline at end of file diff --git a/alt-style-sheets/simple.css b/alt-style-sheets/simple.css new file mode 100644 index 00000000..18ddf035 --- /dev/null +++ b/alt-style-sheets/simple.css @@ -0,0 +1,10 @@ +p { + font-size: 12px; + font-family: sans-serif; +} + +h1 { + font-weight: bold; + font-size: 16px; + font-family: sans-serif; +} \ No newline at end of file