User:Choocolatiah/common.css

@import "/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:MinimalBanners.css";

.bg_dot { background: #fefefe url(https://vignette.wikia.nocookie.net/bandori/images/2/2a/Bg_dot_right-end.png/revision/latest?cb=20200328113547&format=original) no-repeat right bottom; }

.my_div { transition: all 500ms ease-in-out; } .my_div, .my_div:hover { background-color: #f9e9ef; color: #282828; } .old-text, .new-text { display: block; overflow: hidden; transition: all 500ms ease-in-out; } .old-text { height: auto; opacity: 1; width: auto; } .new-text { color: #282828; height: 0; opacity: 0; width: 0; } .my_div:hover .old-text { height: 0px; opacity: 0; width: 0px; } .my_div:hover .new-text { height: auto; opacity: 1; width: auto; }