List in css

technical talkiess
0

 List in css :- 

Code:- 

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Css list </title>

</head>

<style>

    .container ul li{

        /* list-style: none; */

        /* ismer saab language ki list style de sakte hai aap */

        /* list-style: devanagari; */

        /* background-color: yellow; */

        /* icon hai wo bhi list ke ander lene ke liye iska use karte hai  */

        /* list-style-position: inside; */

        /* list-style: disc inside url('https://test.com/images.png'); */

        list-style: inside;

        list-style-image: url('https://test.com/images.png');

    }

</style>

<body>

    <div class="container">

        <ul>

            <li>Home</li>

            <li>About</li>

            <li>Contact</li>

        </ul>

    </div>

</body>

</html>
Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)