More on CSS Selectors
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>More on selectors</title> <style> h1{ background-color: red; color: black; font-weight: bold; text-align: center; } body{ background-color: rgb(97, 92, 97); } /* if p is contained by any li which is contained by div */ /* div li p{ color: rgb(255, 25...
Comments
Post a Comment