W3Schools How To

https://www.w3schools.com/howto/default.asp



Pineapple
Pineapple
Pineapple
Pineapple
Pineapple
Pineapple
Pineapple
Pineapple
Pineapple
Pineapple
Pineapple

The resize Property

Let the user resize both the height and the width of this div element.

To resize: Click and drag the bottom right corner of this div element.

-----------------------------

The resize Property

Let the user resize only the height of this div element.

To resize: Click and drag the bottom right corner of this div element.

---------------------

The resize Property

Let the user resize only the width of this div element.

To resize: Click and drag the bottom right corner of this div element.

----------------------

The resize Property

Let the user resize only the width of this div element.

To resize: Click and drag the bottom right corner of this div element.


In this example, the image is taller than the element containing it, and it is floated, so it overflows outside of its container:

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

Add a clearfix class with overflow: auto; to the containing element, to fix this problem:

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

linear
ease
ease-in
ease-out
ease-in-out

Let the div element get the style values set by the first keyframe before the animation starts (during the animation-delay period):

Let the div element get the style values set by the first keyframe before the animation starts, and retain the style values from the last keyframe when the animation ends:

Transition + Transform

Hover over the div element below:

The transition-timing-function Property

Hover over the div elements below, to see the different speed curves:

linear

ease

ease-in

ease-out

ease-in-out

The transition Property

Hover over the div element below, to see the transition effect:

The transition Property

Hover over the div element below, to see the transition effect:

Linear Gradients - Using Different Angles

0deg

90deg

180deg

-90deg

Linear Gradients - Multiple Color Stops

3 Color Stops (evenly spaced):

7 Color Stops (evenly spaced):

3 Color Stops (not evenly spaced):

Note: Color stops are automatically spaced evenly when no percents are specified.

Gradient Background

Linear Gradient - Transparency

To add transparency, we use the rgba() function to define the color stops. The last parameter in the rgba() function can be a value from 0 to 1, and it defines the transparency of the color: 0 indicates full transparency, 1 indicates full color (no transparency).

Repeating Linear Gradient

A repeating gradient on 45deg axe starting red and finishing green:

A repeating gradient on 190deg axe starting red and finishing green:

A repeating gradient on 90deg axe starting red and finishing green:

Radial Gradient - Evenly Spaced Color Stops

Radial Gradient - Differently Spaced Color Stops


Triangle Right CSS

Triangle Left CSS

Triangle Down CSS

Triangle Up CSS

Parallelogram CSS

Rectangle CSS

Trapezoid CSS

Oval CSS

Circle CSS

Square CSS

Click the "Try it" button to toggle between hiding and showing the DIV element:

This is my DIV element.

Note: The element will not take up any space when the display property set to "none".

Equal Height Columns

Make the columns match the height of the tallest column.

Column 1

Hello World

Column 2

Hello World!

Hello World!

Hello World!

Hello World!

Column 3

Some other text..

Some other text..

Notebook

Heading

Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei.


Image Text Blocks

How to place text blocks over an image:

Nature

Nature

What a beautiful sunrise

Image Text

How to place text over an image:

Snow
Bottom Left
Top Left
Top Right
Bottom Right
Centered

Slider

1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three


Image Modal

In this example, we use CSS to create a modal (dialog box) that is hidden by default.

We use JavaScript to trigger the modal and to display the current image inside the modal when it is clicked on. Also note that we use the value from the image's "alt" attribute as an image caption text inside the modal.

Don't worry if you do not understand the code right away. When you are done with CSS, go to our JavaScript Tutorial to learn more.

Northern Lights, Norway

Responsive Polaroid Images / Cards

Norway

polaroid

Norway

polaroid

Rounded Images

Use the border-radius property to create rounded images:

Paris

Rounded Images

Use the border-radius property to create circled images:

Paris

Centered Images

Paris

Default list:

Remove bullets, margin and padding:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque tempus euismod odio, a interdum elit venenatis non. Vestibulum molestie nisi sapien, vel egestas risus tristique vitae. Etiam non nisi luctus, malesuada nibh eget, viverra ante. Praesent at velit imperdiet enim condimentum consectetur eu sed nisl. Sed lorem dolor, efficitur at efficitur ac, euismod et neque. Nulla sit amet elit sem. Nullam ac malesuada magna, id auctor purus. Praesent viverra fermentum odio.

("hello world")Diamond T Design Curved Text Looks A Lot Like This, and can curve wherever the path is told to travel.

  • S I M P L E A R C
  • R E V E R S E D A R C
  • A U T O R A D I U S T E X T A L L O V E R
  • A U T O R A D I U S T E X T A L L

The border-radius Property

Rounded corners for an element with a specified background color:

Rounded corners!

Rounded corners for an element with a border:

Rounded corners!

Rounded corners for an element with a background image:

Rounded corners!


The border-radius Property

Elliptical border - border-radius: 50px / 15px:

Elliptical border - border-radius: 15px / 50px:

Ellipse border - border-radius: 50%:

The border-radius Property

Four values - border-radius: 15px 50px 30px 5px:

Three values - border-radius: 15px 50px 30px:

Two values - border-radius: 15px 50px:

One value - border-radius: 15px:


Norway

The transition Property

Hover over the div element below, to see the transition effect:

hover on me

Note: This example does not work in Internet Explorer 9 and earlier versions.


There is a Hero in every Theroff.

Colors in Palette

Color Hex RGB
#df8f9f (223,143,159)
#dd9e8f (221,158,143)
#dbbc8f (219,188,143)
#d9d88e (217,216,142)
#bbd78e (187,215,142)
4 of 12

3 of 12
3 of 12

Dropdown Image

Move the mouse over the image below to open the dropdown content.

Hover a box

Text

Text

Text

Text

Text


Simple image overlay hover effects

Text fadeIn left

Text fadeIn right

Text fadeIn top left

Text fadeIn top right

Text fadeIn bottom left

Text fadeIn bottom right

Image Overlay Title

Hover over the image to see the effect.

Avatar
And on the 9th day God made a Farmer's Wife

Image Text Blocks

How to place text blocks over an image:

Nature

Nature

What a beautiful sunrise


Image Hover Effects - Return to Design Shack
girl
city
kick
climb
plane
sea
sea

Hover on the image

Hover on the image

Rotation


Demo 4 - More than just fades

This technique isn't limited to just fades, you can animate almost every property. Here are a couple of examples.

Zooming in and out

Click me to toggle


Click the "Try it" button to toggle between hiding and showing the DIV element:

This is my DIV element.

Note: The element will not take up any space when the display property set to "none".

Overlay Text

Overlay with Text


Notebook

Heading

Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei.


Image Overlay Title

Hover over the image to see the effect.

Avatar
My Name is John

Hoverable Dropup

Example text...

Example text...

Move the mouse over the button to open the dropup menu.

Hoverable Dropdown

Move the mouse over the button to open the dropdown menu.

The border-radius Property

Rounded corners for an element with a specified background color:

Rounded corners!

Rounded corners for an element with a border:

Rounded corners!

Rounded corners for an element with a background image:

Rounded corners!

The border-radius Property

Four values - border-radius: 15px 50px 30px 5px:

Three values - border-radius: 15px 50px 30px:

Two values - border-radius: 15px 50px:

One value - border-radius: 15px:

The border-radius Property

Elliptical border - border-radius: 50px / 15px:

Elliptical border - border-radius: 15px / 50px:

Ellipse border - border-radius: 50%:


Dropdown Image

Move the mouse over the image below to open the dropdown content.

Dropdown Image 2

Move the mouse over the image below to open the dropdown content.

Image Transparency

The opacity property is often used together with the :hover selector to change the opacity on mouse-over:

Forest Mountains Fjords

Image Transparency

The opacity property is often used together with the :hover selector to change the opacity on mouse-over:

Forest Mountains Fjords

Mouse over the links and watch them change layout:

This link changes color

This link changes font-size

This link changes background-color

This link changes font-family

This link changes text-decoration


Image Text

Add some text to an image in the top left corner:

Norway
Image Text Top Left
Image Text Top Right
Bottom Left
Bottom Right
Centered

Some Font Awesome icons:

Styled Font Awesome icons (size and color):

This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph.

This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph.

The outline-style Property

A dotted outline

A dashed outline

A solid outline

A double outline

A groove outline. The effect depends on the outline-color value.

A ridge outline. The effect depends on the outline-color value.

An inset outline. The effect depends on the outline-color value.

An outset outline. The effect depends on the outline-color value.


Home

Home is where the heart is..

News

Some news this fine day!

Contact

Get in touch, or swing by for a cup of coffee.

About

Who we are and what we do.


Responsive Text

Resize the browser window to see how the text size scales.

Use the "vw" unit when sizing the text. 10vw will set the size to 10% of the viewport width.

What?

Chania is a city on the island of Crete.

Where?

Crete is a Greek island in the Mediterranean Sea.

How?

You can reach Chania airport from all over Europe.

Default list:

Remove bullets, margin and padding:

Tomato

Orange

DodgerBlue

MediumSeaGreen

Gray

SlateBlue

Violet

LightGray


Heading 1 (center)

Heading 2 (left)

Heading 3 (right)

Heading 4 (justify)

This is a link

A link with no underline: W3Schools.com

pageOption God made a daughter God made a daughter God made a daughter God made a daughter
hexagon

W3 Shapes


God made a daughter God made a daughter inline styleHorses oval-image
circular-image
pageOption God made a daughter

Our Work

What we offer

Bespoke

La croix vaporware viral vexillologist, flannel jianbing you probably haven't heard of them lomo selfies fixie banjo bespoke literally.

Gluten-Free

Literally tacos tumeric heirloom fingerstache banjo green juice fashion axe locavore, freegan woke kogi vice photo booth.

Farm to Table

Helvetica pop-up raw denim, lomo godard tbh synth jean shorts. Aesthetic tumblr coloring book taco tofu.


The resize Property

Let the user resize only the width of this div element.

To resize: Click and drag the bottom right corner of this div element.

The resize Property

Let the user resize only the height of this div element.

To resize: Click and drag the bottom right corner of this div element.

Note: Internet Explorer does not support the resize property.

The resize Property

Let the user resize both the height and the width of this div element.

To resize: Click and drag the bottom right corner of this div element.


W3 Shapes


God made a daughter
hexagon
background: rgba(255, 0, 0, 0.1)
background: rgba(255, 0, 0, 0.2)
background: rgba(255, 0, 0, 0.3)
background: rgba(255, 0, 0, 0.4)
background: rgba(255, 0, 0, 0.5)
background: rgba(255, 0, 0, 0.6)
background: rgba(255, 0, 0, 0.7)
background: rgba(255, 0, 0, 0.8)
background: rgba(255, 0, 0, 0.9)
background: rgba(255, 0, 0, 1)

RGB colors with opacity:

rgb(255,0,0);opacity:0.6;

rgb(0,255,0);opacity:0.6;

rgb(0,0,255);opacity:0.6;

rgb(192,192,192);opacity:0.6;

rgb(255,255,0);opacity:0.6;

rgb(255,0,255);opacity:0.6;

#f7efe6 - rgb(247,239,230)

#ebc8c1 - rgb(235,200,193)

#9c5b67 - rgb(156,91,103)

#3d3b35 - rgb(61,59,53)

#80738a - rgb(128,115,138)

#bebbc7 - rgb(190,187,199)


Using object-fit

Here we use "object-fit: cover;", so when we resize the browser window, the aspect ratio of the images is preserved:

Norway Paris

The object-fit Property

No object-fit:

Paris

object-fit: fill (this is default):

Paris

object-fit: contain:

Paris

object-fit: cover:

Paris

object-fit: scale-down:

Paris

object-fit: none:

Paris

Default list:

Remove bullets, margin and padding:

Styling Lists With Colors:

  1. Coffee
  2. Tea
  3. Coca Cola

The width and height Properties

Set the width of the table, and the height of the table header row:

Firstname Lastname Savings
Peter Griffin $100
Lois Griffin $150
Joe Swanson $300
Cleveland Brown $250
A display property with a value of "block" results in a line break between the two elements.

position: static;

An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of the page:

This div element has position: static;

position: relative;

An element with position: relative; is positioned relative to its normal position:

This div element has position: relative;

position: fixed;

An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled:

This div element has position: fixed;

position: absolute;

An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed):

This div element has position: relative;
This div element has position: absolute;

Try to scroll inside this frame to understand how sticky positioning works.

Note: IE/Edge 15 and earlier versions do not support sticky position.

I am sticky!

Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Norway

Responsive Images

Responsive images will automatically adjust to fit the size of the screen.

Resize the browser window to see the effect:

Norway

In this example, the image will be displayed just where it occurs in the text (float: none;).

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

In this example, the image will float to the left in the paragraph, and the text in the paragraph will wrap around the image.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

In this example, the image will float to the right in the paragraph, and the text in the paragraph will wrap around the image.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

Without clear

div1
div2 - Notice that div2 is after div1 in the HTML code. However, since div1 floats to the left, the text in div2 flows around div1.


With clear

div3
div4 - Here, clear: left; moves div4 down below the floating div3. The value "left" clears elements floated to the left. You can also clear "right" and "both".
Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

Fade In Tooltip on Hover

When you move the mouse over the text below, the tooltip text will fade in and take 1 second to go from completely invisible to visible.

Hover over me Tooltip text

Rounded Images

Use the border-radius property to create rounded images:

Paris

Rounded Images

Use the border-radius property to create circled images:

Paris

Let the div element retain the style values from the last keyframe when the animation ends:

Let the div element get the style values set by the first keyframe before the animation starts (during the animation-delay period):

Let the div element get the style values set by the first keyframe before the animation starts, and retain the style values from the last keyframe when the animation ends:


The transition-timing-function Property

Hover over the div elements below, to see the different speed curves:

linear

ease

ease-in

ease-out

ease-in-out

linear
ease
ease-in
ease-out
ease-in-out

The transition Property

Hover over the div element below, to see the transition effect:

Transition + Transform

Hover over the div element below:

The transition Property

Hover over the div element below, to see the transition effect:

Note: When an animation is finished, it changes back to its original style.

Polaroid Images / Cards

The box-shadow property can be used to create paper-like cards:

Norway

Hardanger, Norway

Cards

The box-shadow property can be used to create paper-like cards:

1

January 1, 2016


Lorem Ipsum Dolor

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Dropdown Image

Move the mouse over the image below to open the dropdown content.

Image Transparency

The opacity property is often used together with the :hover selector to change the opacity on mouse-over:

Forest Mountains Fjords
Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple

Automatic Slideshow

Change image every 2 seconds:

1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three

Image Text Blocks

How to place text blocks over an image:

Nature

Nature

What a beautiful sunrise


Notebook

Heading

Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei.

https://www.w3schools.com/howto/howto_css_full_page.asp


Mouse over the links and watch them change layout:

This is a default link

This link changes color

This link changes font-size

This link changes background-color

This link changes font-family

This link changes text-decoration

Mouse over the div element below to change its background color:

Mouse Over Me
Hover over me to show the p element

Tada! Here I am!

Images Side by Side

With the CSS float property, it is easy to float images side by side:

Fjords
Forest
Mountains

In this example, the image is taller than the element containing it, and it is floated, so it overflows outside of its container:

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

Add the clearfix hack to the containing element, to fix this problem:

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

In this example, the image is taller than the element containing it, and it is floated, so it overflows outside of its container:

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

Add a clearfix class with overflow: auto; to the containing element, to fix this problem:

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum...

Fade in Tabs

London

London is the capital city of England.

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_full_page_tabs

Paris

Paris is the capital of France.

Tokyo

Tokyo is the capital of Japan.

Accordion

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


Collapsibles

A Collapsible:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Collapsible Set:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Responsive "Meet The Team" Section

Resize the browser window to see the effect.


Jane

Jane Doe

CEO & Founder

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

Mike

Mike Ross

Art Director

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

John

John Doe

Designer

Some text that describes me lorem ipsum ipsum lorem.

example@example.com


Type a value in any of the fields to convert between temperature measurements:

Type a value in any of the fields to convert between weight measurements:

Type a value in any of the fields to convert between Length measurements:


Image Modal

Ivan Theroff

Image Modal

In this example, we use CSS to create a modal (dialog box) that is hidden by default.

We use JavaScript to trigger the modal and to display the current image inside the modal when it is clicked on. Also note that we use the value from the image's "alt" attribute as an image caption text inside the modal.

Don't worry if you do not understand the code right away. When you are done with CSS, go to our JavaScript Tutorial to learn more.

Northern Lights, Norway

Scroll Up and Down this page to see the parallax scrolling effect.

Scroll Up and Down this page to see the parallax scrolling effect. This div is just here to enable scrolling. Tip: Try to remove the background-attachment property to remove the scrolling effect.

Parallax Demo


CSS background-color example!

class="center klematis4_big

Hoverable Dropdown

Move the mouse over the button to open the dropdown menu.

Hoverable Dropup

Example text...

Example text...

Move the mouse over the button to open the dropup menu.

Demonstrate fadeIn() with different parameters.






6 of12

W3.CSS Animations

The w3-animate classes provide an easy way to slide and fade in elements:


Animation is Fun!
Animation is Fun!
Animation is Fun!
Animation is Fun!
Animation is Fun!
Animation is Fun!
Animation is Fun!

Farmer

Ivan Theroff

#c2cc97
#2e242c
#58593a
#d49055
#e6ca8f
#ebe3bc

Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy.

Back to Color Options »

Making the Web Beautiful!


Tomato

Orange

DodgerBlue

MediumSeaGreen

Gray

SlateBlue

Violet

LightGray

Responsive Text

Resize the browser window to see how the text size scales.

Use the "vw" unit when sizing the text. 10vw will set the size to 10% of the viewport width.

rgb(0, 0, 0)

rgb(60, 60, 60)

rgb(120, 120, 120)

rgb(180, 180, 180)

rgb(240, 240, 240)

rgb(255, 255, 255)

rgb(255, 0, 0)

rgb(0, 0, 255)

rgb(60, 179, 113)

rgb(238, 130, 238)

rgb(255, 165, 0)

rgb(106, 90, 205)

rgba(255, 99, 71, 0)

rgba(255, 99, 71, 0.2)

rgba(255, 99, 71, 0.4)

rgba(255, 99, 71, 0.6)

rgba(255, 99, 71, 0.8)

rgba(255, 99, 71, 1)


CSS background-color example!

This is a text inside a div element.

This paragraph has its own background color.

We are still in the div element.

The border-style Property

This property specifies what kind of border to display:

A dotted border.

A dashed border.

A solid border.

A double border.

A groove border.

A ridge border.

An inset border.

An outset border.

No border.

A mixed border.

Using individual margin properties

This div element has a top margin of 100px, a right margin of 150px, a bottom margin of 100px, and a left margin of 80px.

Using individual padding properties

This div element has a top padding of 50px, a right padding of 30px, a bottom padding of 50px, and a left padding of 80px.

Set the height and width of an element

This div element has a height of 200px and a width of 50%:

Calculate the total width:

Klematis
The picture above is 350px wide. The total width of this element is also 350px.

The outline-style Property

A dotted outline

A dashed outline

A solid outline

A double outline

A groove outline. The effect depends on the outline-color value.

A ridge outline. The effect depends on the outline-color value.

An inset outline. The effect depends on the outline-color value.

An outset outline. The effect depends on the outline-color value.

Some Font Awesome icons:

Styled Font Awesome icons (size and color):

This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph.

This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph.

Mouse over the links and watch them change layout:

This link changes color

This link changes font-size

This link changes background-color

This link changes font-family

This link changes text-decoration

Define Colors With RGBA Values

Red

Green

Blue

Grey

Yellow

Cerise

Define Colors With Opacity

Red

Green

Blue

Grey

Yellow

Cerise


Click the "Try it" button to toggle between hiding and showing the DIV element:

This is my DIV element.

Note: The element will not take up any space when the display property set to "none".

hr divid styles


0

1

2

3

4

6

7

5

8

sexy_line

RGB colors:

#CEC8B2 - rgb(194,204,151)

#F2D668 - rgb(46,36,44)

#38A0A3 - rgb(87,63,58)

#EC4E67 - rgb(212,144,85)

#594B40 - rgb(230,202,143)

#ebe3bc - rgb(235,227,188)

#58593a - rgb(88,89,58)


This is some blinking text.

rotateX
rotateY
rotateZ

Dangerous Curves Ahead


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque id blanditiis cupiditate ipsam esse debitis nesciunt doloribus ratione itaque rem. Itaque assumenda alias ut provident animi porro nihil facilis sint. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quia distinctio officia mollitia debitis nam corporis facere atque minima cumque amet sint commodi aspernatur fugiat quae dicta quidem sequi excepturi error. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius quisquam error recusandae modi nostrum adipisci numquam ullam architecto vitae odio incidunt voluptas dolore fugiat! Ipsum voluptatem ipsa molestiae quasi incidunt!

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit maiores cupiditate corrupti perspiciatis vel velit numquam? Eligendi animi placeat fugiat deserunt a omnis facere magni aut quod magnam quasi quo. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam eligendi odit alias corporis autem natus mollitia sequi eaque nisi vero! Odio itaque unde tempore sint porro cupiditate cumque totam veniam.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloremque id blanditiis cupiditate ipsam esse debitis nesciunt doloribus ratione itaque rem. Itaque assumenda alias ut provident animi porro nihil facilis sint. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quia distinctio officia mollitia debitis nam corporis facere atque minima cumque amet sint commodi aspernatur fugiat quae dicta quidem sequi excepturi error. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius quisquam error recusandae modi nostrum adipisci numquam ullam architecto vitae odio incidunt voluptas dolore fugiat! Ipsum voluptatem ipsa molestiae quasi incidunt!

I am targeted but i am not. turpis egestas. Vestibulum tortor quam, feugiat vitae, I'm also targeted cuz i'm in a different tag eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

Dancing The sky was cloudless and of a deep dark blue.

Christmas The sky was cloudless and of a deep dark blue.

Gloria The sky was cloudless and of a deep dark blue.

Vibes The sky was cloudless and of a deep dark blue.

Indie The sky was cloudless and of a deep dark blue.

VintageThe sky was cloudless and of a deep dark blue.

☺ Retro Style ☺

The spectacle before us was indeed sublime.

Arima, She stared through the window at the stars.

Indie, A shining crescent far beneath the flying vessel.

Satisfy, A red flair silhouetted the jagged edge of a wing.

Dancing, Almost before we knew it, we had left the ground.

Vibes, Then came the night of the first falling star.

Clicker, Then came the night of the first falling star.

, Almost before we knew it, we had left the ground.

Bonbon, A red flair silhouetted the jagged edge of a wing.

blue, A shining crescent far beneath the flying vessel.

blue2, She stared through the window at the stars.

blue3, Making the Web Beautiful!

blue3, Making the Web Beautiful!

Script & Style

This is some blinking text.

Something’s not quite level here.

This is heading 1

This is heading 2

COLORS
RGB colors:

gross understatement #B8D973 - rgb(184,217,115)

cry if I want to #38A0A3 - rgb(56,160,163)

Mr. Mint #A7DCC7 - rgb(167,220,199)

rgb(138,198,189) - #8ac6bd LRV: 49

It's my party #EC4E67 - rgb(236,78,103)

Bubble Gum Kisses #EB9098 - rgb(235,144,152)

rgb(205,113,123) - #cd717b LRV: 26

rgb(201,170,152) - #c9aa98 LRV: 43

rgb(218,181,180) - #dab5b4 LRV: 51

rgb(164,137,160) - #a489a0 LRV: 28

rgb(240,211,157) - #f0d39d LRV: 67

rgb(225,210,134) - #e1d286 LRV: 64

birthday surprise #F2D668 - rgb(242,214,104)

Sixteen Kilometers #CEC8B2 - rgb(206,200,178)

rgb(136,135,130) - #888782 LRV: 24

Slate Brown #6A665A - rgb(106,102,90)

Ondine Plum-Grey #594B40 - rgb(89,75,64)

white #fff - rgb(255,255,255)

gross understatement #B8D973 - rgb(184,217,115)

cry if I want to #38A0A3 - rgb(56,160,163)

It's my party #EC4E67 - rgb(236,78,103)

rgb(205,113,123) - #cd717b LRV: 26

rgb(164,137,160) - #a489a0 LRV: 28

birthday surprise #F2D668 - rgb(242,214,104)

Ondine Plum-Grey #594B40 - rgb(89,75,64)

white #fff - rgb(255,255,255)

RGB colors with opacity:

Red

Green

Blue

Grey

Yellow

Cerise

HSL colors with opacity:

Green

Light green

Dark green

Pastel green

Violet

Pastel violet

.bx12
.bx11
.bx1
.bx10
.bx2
.bx9
.bx3
.bx8
.bx4
.bx7
.bx5
.bx6
.bx6
.bx5
.bx5
.bx2
.bx4
.bx4
.bx4
.bx3
.bx3
.bx3
.bx3
.bx2
.bx2
.bx2
.bx2
.bx2
.bx2
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1
.bx1

There is a Hero in every Theroff.


Full Page Background Image

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Current Buttons

Micro
Button Colors

Change the background color of a button with the background-color property:

Rounded Buttons

Add rounded corners to a button with the border-radius property:

2px 4px 6px 8px 12px 50%
Button Sizes/center>
Colored Button Borders

Use the border property to add a border to the button:

Fading Buttons - "Fade in Effect"

Animated Button


Full Page Background Image

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.


In this example, the image will float to the left in the paragraph, and the text in the paragraph will wrap around the image.

Pineapple Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

The display Property

display: contents:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
HELLO WORLD!
Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.

The display Property

display: none:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.

HELLO WORLD!

Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.

display: inline:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.

HELLO WORLD!

Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.

display: block:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.

HELLO WORLD!

Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.

display: inline-block:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.

HELLO WORLD!

Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.

Responsive


Heading 1 (36px)

Heading 2 (30px)

Heading 3 (24px)

Heading 4 (20px)

Heading 5 (18px)
Heading 6 (16px)
w3-tiny
w3-small
w3-medium (Default)
w3-large
w3-xlarge
w3-xxlarge
w3-xxxlarge
w3-jumbo

Standard CSS


The tiny-print font size of 10 pixels.

The small-print font size of 12 pixels.

The Default font size of 15 pixels.

The large-print font size of 20 pixels.

The xlarge-print font size of 24 pixels.

The xxlarge-print font size of 32 pixels.

The xxxlarge-print font size of 48 pixels.

The jumbo-print font size of 64 pixels.

The jumbo-print font size of 64 pixels.

Responsive


Heading 1 (36px)

Heading 2 (30px)

Heading 3 (24px)

Heading 4 (20px)

Heading 5 (18px)
Heading 6 (16px)
w3-tiny
w3-small
w3-medium (Default)
w3-large
w3-xlarge
w3-xxlarge
w3-xxxlarge
w3-jumbo

Standard CSS


The tiny-print font size of 10 pixels.

The small-print font size of 12 pixels.

The Default font size of 15 pixels.

The large-print font size of 20 pixels.

The xlarge-print font size of 24 pixels.

The xxlarge-print font size of 32 pixels.

The xxxlarge-print font size of 48 pixels.

The jumbo-print font size of 64 pixels.


Dancing The sky was cloudless and of a deep dark blue.

Christmas The sky was cloudless and of a deep dark blue.

Gloria The sky was cloudless and of a deep dark blue.

Vibes The sky was cloudless and of a deep dark blue.

Indie The sky was cloudless and of a deep dark blue.

Arima, She stared through the window at the stars.

Indie, A shining crescent far beneath the flying vessel.

Satisfy, A red flair silhouetted the jagged edge of a wing.

Dancing, Almost before we knew it, we had left the ground.

Vibes, Then came the night of the first falling star.

Clicker, Then came the night of the first falling star.

, Almost before we knew it, we had left the ground.

Bonbon, A red flair silhouetted the jagged edge of a wing.

blue, A shining crescent far beneath the flying vessel.

blue2, She stared through the window at the stars.

blue3, Making the Web Beautiful!

blue3, Making the Web Beautiful!

The spectacle before us was indeed sublime.

VintageThe sky was cloudless and of a deep dark blue.

☺ Retro Style ☺

I am a little retro

box-shadow: 5px 5px blue, 10px 10px red, 15px 15px blue:

Define multiple shadows.

box-shadow: 5px 5px 8px blue, 10px 10px 8px red, 15px 15px 8px green:

Define multiple shadows with blur effect.

box-shadow: 5px 10px inset:

The inset keyword changes the shadow to one inside the frame.

box-shadow: 5px 10px 20px red inset:

Inset, red and blur.

Image Swap on Hover with CSS

Card Back Card Front

Hover a box

Text

Text

Text

Text

Text

Dropdown Image

Move the mouse over the image below to open the dropdown content.

Trolltunga Norway
Trolltunga Norway
So God mmade a Farmers Daughter

Image Overlay Title

Hover over the image to see the effect.

Avatar
And on the 9th day God made a Farmer's Wife

Image Text Blocks

How to place text blocks over an image:

Nature

Nature

What a beautiful sunrise


Notebook

Heading

Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei.

pageOption
God made a daughter God made a daughter God made a daughter God made a daughter God made a daughter God made a daughter

hexagon
inline style Horses circular-image
oval-image
3 of 12

Zoom on Hover

Hover over the div element.

Typical Media Query Breakpoints

Resize the browser window to see how the background color of this paragraph changes on different screen sizes.

Change the font size of an element on different screen sizes

Example DIV.

When the browser's width is 600px wide or less, set the font-size of DIV to 30px. When it is 601px or wider, set the font-size to 80px. Resize the browser window to see the effect.


What we offer

Bespoke

La croix vaporware viral vexillologist, flannel jianbing you probably haven't heard of them lomo selfies fixie banjo bespoke literally.

Gluten-Free

Literally tacos tumeric heirloom fingerstache banjo green juice fashion axe locavore, freegan woke kogi vice photo booth.

Farm to Table

Helvetica pop-up raw denim, lomo godard tbh synth jean shorts. Aesthetic tumblr coloring book taco tofu.

Our Work


Notebook

Black background with transparency

Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei.


Overlay Text

Overlay with Text

Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple Pineapple

Scroll Up and Down this page to see the parallax scrolling effect.

Scroll Up and Down this page to see the parallax scrolling effect. This div is just here to enable scrolling. Tip: Try to remove the background-attachment property to remove the scrolling effect.

Parallax Demo


Color Hex RGB
#00cccc (0,204,204)
#f08080 (240,128,128)
#fff68f (255,246,143)
#d7b8ff (215,184,255)
#00e595 (0,229,149)

Summertime Gladness Color Palette

Current Buttons

Micro
Button Colors

Change the background color of a button with the background-color property:

Rounded Buttons

Add rounded corners to a button with the border-radius property:

2px 4px 6px 8px 12px 50%
Button Sizes/center>
Colored Button Borders

Use the border property to add a border to the button:

Fading Buttons - "Fade in Effect"

Animated Button

Type a value in any of the fields to convert between temperature measurements:

Type a value in any of the fields to convert between weight measurements:

Type a value in any of the fields to convert between Length measurements:


Fjords
Forest
Mountains
background: rgba(255, 0, 0, 0.1)
background: rgba(255, 0, 0, 0.2)
background: rgba(255, 0, 0, 0.3)
background: rgba(255, 0, 0, 0.4)
background: rgba(255, 0, 0, 0.5)
background: rgba(255, 0, 0, 0.6)
background: rgba(255, 0, 0, 0.7)
background: rgba(255, 0, 0, 0.8)
background: rgba(255, 0, 0, 0.9)
background: rgba(255, 0, 0, 1)

RGB colors with opacity:

rgb(255,0,0);opacity:0.6;

rgb(0,255,0);opacity:0.6;

rgb(0,0,255);opacity:0.6;

rgb(192,192,192);opacity:0.6;

rgb(255,255,0);opacity:0.6;

rgb(255,0,255);opacity:0.6;

#f7efe6 - rgb(247,239,230)

#ebc8c1 - rgb(235,200,193)

#9c5b67 - rgb(156,91,103)

#3d3b35 - rgb(61,59,53)

#80738a - rgb(128,115,138)

#bebbc7 - rgb(190,187,199)

Responsive


Heading 1 (36px)

Heading 2 (30px)

Heading 3 (24px)

Heading 4 (20px)

Heading 5 (18px)
Heading 6 (16px)
w3-tiny
w3-small
w3-medium (Default)
w3-large
w3-xlarge
w3-xxlarge
w3-xxxlarge
w3-jumbo

Standard CSS


The tiny-print font size of 10 pixels.

The small-print font size of 12 pixels.

The Default font size of 15 pixels.

The large-print font size of 20 pixels.

The xlarge-print font size of 24 pixels.

The xxlarge-print font size of 32 pixels.

The xxxlarge-print font size of 48 pixels.

The jumbo-print font size of 64 pixels.

Notebook

Heading

Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei.


Responsive Image Grid

Using object-fit

Here we use "object-fit: cover;", so when we resize the browser window, the aspect ratio of the images is preserved:

Norway Paris

The object-fit Property

No object-fit:

Paris

object-fit: fill (this is default):

Paris

object-fit: contain:

Paris

object-fit: cover:

Paris

object-fit: scale-down:

Paris

object-fit: none:

Paris

12 of 12

Dropdown Image

Move the mouse over the image below to open the dropdown content.

Fading Buttons - "Fade in Effect"

Fading Buttons - "Fade in Effect"

Image Transparency

The opacity property is often used together with the :hover selector to change the opacity on mouse-over:

Forest Mountains Fjords

Chihuahua-Puppy

Chihuahua-Puppy

Loren ipsum dolor si amet ipsum dolor si amet ipsum dolor...

INFO

500x300

Pretty Pair

Change color on page...

INFO

Farmer

Ivan Theroff

#c2cc97
#2e242c
#58593a
#d49055
#e6ca8f
#ebe3bc

Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy.

Back to Color Options »

Making the Web Beautiful!

Responsive "Meet The Team" Section

Resize the browser window to see the effect.


Jane

Jane Doe

CEO & Founder

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

Mike

Mike Ross

Art Director

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

John

John Doe

Designer

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

Collapsibles

A Collapsible:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Collapsible Set:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Accordion

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


W3.CSS Modal Image

Click on the image to display it in full size:

W3.CSS Modal Image Gallery

Click on the images to display them in full size.


12 of 12

Animated Slides

Slide or fade in an element from the top, bottom, left or right of the screen with the animate-* classes.

Images as Indicators

An example of using images as indicators:

Another example:


Slideshow Indicators

An example of using buttons to indicate how many slides there are in the slideshow, and which slide the user is currently viewing.

Slideshow Caption

Snow, Norway
Northern Lights, Norway
Beautiful Mountains
The Rain Forest
Mountains!

Add a caption text for each image slide with the display-* classes (topleft, topmiddle, topright, bottomleft, bottommiddle, bottomright, left, right or middle):

HTML slides

Slide 1

Lorem ipsum

Slide 2

Lorem ipsum

Slide 3

Lorem ipsum

Automatic Slideshow


Manual Slideshow

Caption text 1
Caption text
2
Caption text 3

Image samples

500x300

Pretty Pair

Change color on page...

INFO

Chihuahua-Puppy

Chihuahua-Puppy

Loren ipsum dolor si amet ipsum dolor si amet ipsum dolor...

INFO
oval-image
circular-image
inline style Horses

Farmer

Ivan Theroff

#c2cc97
#2e242c
#58593a
#d49055
#e6ca8f
#ebe3bc

Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy.

Back to Color Options »

Making the Web Beautiful!


Demonstrate fadeIn() with different parameters.





Hoverable Dropup

Example text...

Example text...

Move the mouse over the button to open the dropup menu.

Hoverable Dropdown

Move the mouse over the button to open the dropdown menu.

Home

Home is where the heart is..

News

Some news this fine day!

Contact

Get in touch, or swing by for a cup of coffee.

About

Who we are and what we do.


Notes

Danger! Some text...

Success! Some text...

Info! Some text...

Warning! Some text...

Click on the buttons inside the tabbed menu:

London

London is the capital city of England.

Paris

Paris is the capital of France.

Tokyo

Tokyo is the capital of Japan.

Image Text

How to place text over an image:

Snow
Bottom Left
Top Left
Top Right
Bottom Right
Centered

Image Zoom

Mouse over the image:

The image must be placed inside a contianer with relative positioning.

The result can be put anywhere on the page, but must have the class name "img-zoom-result".

Make sure both the image and the result have IDs. These IDs are used when a javaScript initiates the zoom effect.


CSS background-color example!

6 of 12

images/next-day images/next-day images/next-day images/next-day images/next-day images/next-day images/next-day images/next-day images/next-day images/next-day images/next-day

6 of 12
6 of 12

Sticky Image: Scroll Down to See the Effect

The image will "stick" to the screen when you reach its scroll position.

Avatar

Scroll Down

Some example text..

Scroll back up again to "remove" the sticky position.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. Mauris quis diam velit.

I will stick to the screen when you reach my scroll position

This is the footer!! Resize the browser window to see how the content respond to the resizing.

This is the footer 2!! Resize the browser window to see how the content respond to the resizing.