Why is my CSS not being processed properly? -
why code (which w3schools):
#snackbar { visibility: hidden; /* hidden default. visible on click */ min-width: 250px; /* set default minimum width */ margin-left: -125px; /* divide value of min-width 2 */ background-color: #333; /* black background color */ color: #fff; /* white text color */ text-align: center; /* centered text */ border-radius: 2px; /* rounded borders */ padding: 16px; /* padding */ position: fixed; /* sit on top of screen */ z-index: 1; /* add z-index if needed */ left: 50%; /* center snackbar */ bottom: 30px; /* 30px bottom */ } displaying in microsoft edge: image
sorry if missing obvious. css code on 000webhost
in ie , edge (big brother), cannot copy paste css anywhere else, interpret whole pair of "key: value" key only. instead, if want add css browser preview(inspect mode) add property(key) , press enter, browser expect value property(key).
Comments
Post a Comment