CodinginHindi
Toggle Menu
Learn
Practice
Training
सीएसएस अभ्यास (CSS Practice)
अपना CSS कोड लिखें और दाईं ओर तुरंत आउटपुट देखें।
CSS कोड
body { background-color: #f0f8ff; font-family: 'Arial', sans-serif; text-align: center; padding-top: 50px; } h1 { color: #333; } p { color: #555; font-size: 1.2em; } .custom-button { background-color: #4CAF50; /* Green */ border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 8px; transition: background-color 0.3s ease; } .custom-button:hover { background-color: #45a049; }
HTML कोड (Editable)
<!DOCTYPE html> <html> <head> <title>CSS Practice</title> </head> <body> <h1>CSS का अभ्यास करें</h1> <p>इस पैराग्राफ को स्टाइल करने के लिए बाएं पैनल में CSS लिखें।</p> <button class="custom-button">मुझे क्लिक करें</button> </body> </html>
Run Code
आउटपुट (Output)