fixed button styling

This commit is contained in:
janis
2022-11-05 18:34:01 +01:00
parent 7e4f80817d
commit bc41a1d999
2 changed files with 2 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
$(document).ready(function() {
$("#ContentToInclude").load("/menu.html");
$(".linkbutton").mouseenter(function() {
$(this).animate({"border-radius": "0px"}, 200)
$(this).animate({"border-radius": "0px", "background-color": "darkblue"}, 200)
})
$(".linkbutton").mouseleave(function() {
$(this).animate({"border-radius": "20px"}, 200)
$(this).animate({"border-radius": "20px", "background-color": "rgba(0,0,0,0)"}, 200)
})
$(".textlink").mouseenter(function() {
$(this).animate({"color": "darkblue", "font-size": "120%"}, 200)