Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css hover change more than one element

/*** HTML code ***
<div class="card">
  <h2>My title</h2>
  <p>This is my content</p>
</div>
*/

.card:hover { background: #abeafe; }
.card:hover h2 { color: #000; }
.card:hover p { color: #333; }
Comment

PREVIOUS NEXT
Code Example
Css :: all heading tags selector scss 
Css :: on hover show text in bootstrap 
Css :: css borrar 
Css :: images css in react native fir in container 
Css :: details summary not open css 
Css :: ios sms css 
Css :: matrix multiplication markdown 
Css :: css 2 images side by side to stack 
Css :: css check if class as color white 
Css :: where is sendmail in lampp 
Css :: scrollbar width css 
Css :: tynker bot 
Css :: style first word using css 
Css :: separate three content in web 
Css :: child theme broken header "styles.css" 
Css :: css trigger animation 
Css :: navbar for front-end 
Css :: css sign in with google 
Css :: css opposite selector 
Css :: easyui datagrid header multiline 
Css :: css fade div 
Css :: how to change the size of a style="text-align: center;" 
Css :: Task #2: Set a linear gradient background for the div element, going from the top left to the bottom right, transitioning from "white" to "green" 
Typescript :: how to remove dots from li 
Typescript :: Listing available com ports with Python 
Typescript :: tsc : File C:Userss1rbl4ckAppDataRoaming pm sc.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at 
Typescript :: ts reverse array 
Typescript :: length of object in typescript 
Typescript :: install typescript homebrew 
Typescript :: get query params from url angular 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =