Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can make counter using just css ?

user-image
Question added by mohamed ahmed mahmoud , مصمم مواقع انترنت web designer , conect
Date Posted: 2017/04/10
medhatmahmoud mahmoud
by medhatmahmoud mahmoud , Web Designer , Connect Computer Service Co

<head>

<style>

body {

    counter-reset: sectionnn;

}

 

h2::before {

    counter-increment: sectionnn;

    content: "xx " counter(section);

}

</style>

</head>

<body>

 

<h1> CSS </h1>

<h2>HTML </h2>

<h2>PHP</h2>

<h2>JavaScript </h2>

 

</body>

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.