trying to make it work for all subchilds
This commit is contained in:
34
ascii_elements/mouse_container.html
Normal file
34
ascii_elements/mouse_container.html
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
<div class="mouse_container">
|
||||
<div class="content_html" data-path_target="mouse_frame"></div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.mouse_container {
|
||||
position: relative;
|
||||
margin-left: 0px;
|
||||
/*
|
||||
border: 1px solid red;
|
||||
margin-right: auto;
|
||||
height: 8.5em;
|
||||
width: 11.9em;
|
||||
*/
|
||||
width: fit-content;
|
||||
}
|
||||
pre.mouse {
|
||||
--tmouse: 2s;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
margin: 0px;
|
||||
opacity: 0;
|
||||
animation-name: mouse;
|
||||
animation-iteration-count: infinite;
|
||||
animation-duration: var(--tmouse);
|
||||
animation-timing-function: linear;
|
||||
animation-direction: normal;
|
||||
}
|
||||
pre.mouse:first-child {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user