Qhmit
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> body { color: yellowgreen; } div { background: currentcolor; width: 60%; margin: auto; padding: 5px 20px; } div > p { color: white; opacity: 0.5; font-size: 1.5em; } </style> Body text... <div> Hidden text ;) <p>Change the color value of the 'color' property on the 'body' element to see how it affects this 'div'.</p> </div>
Preview