Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css square image

/* THE HTML  */
<div class="thumb1"> </div>
/* THE CSS */
.thumb1 { 
  background: url(blah.jpg) 50% 50% no-repeat; /* 50% 50% centers image in div */
  width: 250px;
  height: 250px;
}

.thumb1:hover { 
/* HOVER STYLE HERE */
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to align border to center in css 
Css :: autocomplete widget not working in modal popup 
Css :: table data max width 
Css :: css border radius 
Css :: css keyframes 
Css :: selection css 
Css :: how to center with position fixed 
Css :: wordpress remove sticky header 
Css :: Correct border property to add ROUNDED borders to the elements 
Css :: css media queries mobile first 
Css :: how many px is iphone 12 pro max css 
Css :: css delay between animation iterations 
Css :: input type file placeholder 
Css :: css remove highlight on input text 
Css :: span cursor pointer 
Css :: css focus change color 
Css :: scss how to use a variable in entire angular project 
Css :: wordpress theme Adding style.css in function.php 
Css :: css comments 
Css :: width css 
Css :: make table resopnsive for mobile 
Css :: closing modal on iframe movies still running 
Css :: get ssl certificate command line 
Css :: how to add default font css 
Css :: css code examples 
Css :: smooth button effect css 
Css :: place two div elements next to each other 
Css :: add css variables without global 
Css :: tailwind css absolute pin 
Css :: loading animation css 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =