crop_rotate
Run
<!DOCTYPE html> <html> <head> <style> .mystyle { width: 500px; height: 50px; } .test { background-color: lightblue; } .example { text-align: center; font-size: 25px; color: black; margin-bottom: 10px; } </style> </head> <body> <p>Click the button to display the class names of the div element.</p> <div id="myDIV" class="mystyle test example"> I am a DIV element with multiple classes </div> <button onclick="myFunction()">Try it</button> <p id="demo"></p> <script> function myFunction() { var x = document.getElementById("myDIV").className; document.getElementById("demo").innerHTML = x; } </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlPg0KLm15c3R5bGUgew0KICB3aWR0aDogNTAwcHg7DQogIGhlaWdodDogNTBweDsNCn0NCg0KLnRlc3Qgew0KICBiYWNrZ3JvdW5kLWNvbG9yOiBsaWdodGJsdWU7IA0KfQ0KDQouZXhhbXBsZSB7DQogIHRleHQtYWxpZ246IGNlbnRlcjsNCiAgZm9udC1zaXplOiAyNXB4Ow0KICBjb2xvcjogYmxhY2s7DQogIG1hcmdpbi1ib3R0b206IDEwcHg7DQp9DQo8L3N0eWxlPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4gOjotd2Via2l0LXNjcm9sbGJhcnt3aWR0aDo3cHg7aGVpZ2h0OjdweDt9Ojotd2Via2l0LXNjcm9sbGJhci10cmFja3tiYWNrZ3JvdW5kOiNmZmY7fTo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWJ7Ym9yZGVyLXJhZGl1czo1cHg7YmFja2dyb3VuZDojMmY0NWZmO308L3N0eWxlPjwvaGVhZD4NCjxib2R5Pg0KDQo8cD5DbGljayB0aGUgYnV0dG9uIHRvIGRpc3BsYXkgdGhlIGNsYXNzIG5hbWVzIG9mIHRoZSBkaXYgZWxlbWVudC48L3A+DQoNCjxkaXYgaWQ9Im15RElWIiBjbGFzcz0ibXlzdHlsZSB0ZXN0IGV4YW1wbGUiPg0KSSBhbSBhIERJViBlbGVtZW50IHdpdGggbXVsdGlwbGUgY2xhc3Nlcw0KPC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