1
Answer

Attribute:data-offset usage

Murugappan Mn

Murugappan Mn

9y
351
1
Hi frnds,
 
pls help me with this code
 
<body data-spy="scroll" data-target=".navbar" data-offset="50"> 
 
In this what is the use of attributes=data-spy,data-target and data-offset.What the value .navbar specifies(is that class with name navbar) 
 
ref:http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_scrollspy&stacked=h 
Answers (1)