Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ibrahimkholil/26a06f3d6677eb131e18ba326883b8ff to your computer and use it in GitHub Desktop.
Save ibrahimkholil/26a06f3d6677eb131e18ba326883b8ff to your computer and use it in GitHub Desktop.
Add Active class in slider current element
/**add active classs in slider first item**/
$(".carousel .carousel-item").first().addClass("active");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment