Currently, I have a code snippet that enables an absolutely positioned box to follow the movement of the mouse cursor:
$(document).mousemove( function(e) {
$(".wordbox").css({
top: "calc(" + e.pageY + "px - 0.8em)",
left: e.pageX
});
});
While this functionality works smoothly on its own, it encounters issues when used alongside Bootstrap 3 CSS.
I am wondering, could Bootstrap be overriding these styles and causing the problem?