Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css is selector

/*Below is a peice of code that allows us to set the cursor style for 
a specific class (.seat) that does not have the class (.occupied)*/
.seat:not(.occupied):hover{
  cursor: pointer;
  transform: scale(1.2);
/*The code below allows us to set properties for a seat that is occupied;
This changes the curser on hover, indicating that the option is not available.*/
.seat:is(.occupied):hover{  
  cursor:not-allowed;
}
 
Source by github.com #
 
PREVIOUS NEXT
Tagged: #css #selector
ADD COMMENT
Topic
Name
4+6 =