0
Can javascript be styled using CSS?
4 Respostas
+ 1
Yes, you can style any html element with javascript by using "style" keyword.
<script>
document.getElementById("p").style.color = "blue";
</script>
+ 1
You can try Alertify.js, which is a great JavaScript library to style alert, confirm and prompt boxes.
https://stackoverflow.com/questions/7853130/how-to-change-the-style-of-alert-box?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
+ 1
thanks again been a great help
0
ok thanks its really helpful
but if i were to make alert would i be able to style it?