Murugappan Mn

Murugappan Mn

  • NA
  • 50
  • 8.7k

Attribute:data-offset usage

Nov 5 2015 8:21 AM
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)