site documentation
Posted in
8
1:24 am, September 2, 2021
make the view number zoom when mouse over or active
Lets make the view number in the header widget area a bit more exciting...
Zoom on mouse over with css.
Lets add this effect here: Using Transform Scale In Css To Zoom On Hover Over
Simple change but makes it a bit more interesting.
HTML
<div class='views-header'><i class="fas fa-eye"></i> 123456</div>
CSS
.views-header {
transition: all 0.3s;
text-align:center;
}
.views-header:hover {
transition: all 0.3s;
transform: scale(1.2);
}
Scripts
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css" />
123456
View Statistics
This Week
78
This Month
409
This Year
0
Add Comment
Other Items in site documentation
function to load one latest item with a start val load_latest_single_num
make the view number zoom when mouse over or active
moving the hits widget into the post header and footer
for auto filled fields, need to change the text and background colours
use a list group for listing by category page [todo]
Comments Listing should be a custom list rather than using search
load the latest single item only
load oldest item based on insdate then update the insdate to now - load_latest_single_update
change this to a list group - other items
hero widget header - creates a nice looking hero item from a target uid and class
dropdown section
Latest from Code Widget
Related Search Terms
Other Categories in Code
c testing apache apps asp bat bootstrap bootstrap templates core css css grid design elements fancybox fonts foundation framework gimp git html icons ideas images javascript jquery js linux mac nginx node php php functions php simple html dom pi400 python react sections site bugs site documentation sql sqlite sublime svg templates tools virtual box webdev windows wordpress