CSS3 Crash Course for Web Artists: Design and Style Websites with CSSCSS3 by Team HTMLeceous

CSS3 Crash Course for Web Artists: Design and Style Websites with CSSCSS3 by Team HTMLeceous

Author:Team HTMLeceous [HTMLeceous, Team]
Language: eng
Format: azw3, mobi, pdf
Publisher: Team Htmleceous
Published: 2016-03-12T00:00:00+00:00


Listing cs7.3 shows the use of this property. Figure 2 shows the result.

Listing cs7.3: /cs7/lists-3.html

<!DOCTYPE html>

<html>

<head>

<title> Lists </title>

<style>

ul {

width: 50px;

}

.one {

list-style-position: inside;

list-style-image: url(images/bullet.png);

}

.two {

list-style-image: url(images/bullet.png);

list-style-position: outside;

}

</style>

</head>

<body>

<h2> List-1 </h2>

<ul class="one">

<li> Item 1</li>

<li> Item 2</li>

<li> Item 3</li>

<li> Item 4</li>

<li> Item 5</li>

</ul>

<h2> List-2 </h2>

<ul class="two">

<li> Item 1</li>

<li> Item 2</li>

<li> Item 3</li>

<li> Item 4</li>

<li> Item 5</li>

</ul>

</body>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.