/* 1)标准消息提示框,使用规则如下 2)冒泡提示框 */ /* styles for our popup element */ popup { border: none; font-family: "宋体"; font-size: 10pt; border-radius:8dip; opacity:0.90; } popup:popup { assigned!: self::opacity = 0.2, self.start-animation(); animation-step!: self::opacity < 0.90 ? ( self::opacity = self::opacity + 0.02, return 10) ; } popup em { font-weight: bold; font-style: normal; color: red; } popup.normal p { background-image: url(images/corner.png); background-repeat: no-repeat; background-position:100% 100%; } popup.balloon { background-color:transparent; background-image: url(images/speech-bubble1.png); background-repeat: expand; background-position:80dip 33dip 33dip 74dip; /*top right bottom left offsets*/ padding:71dip 25dip 25dip 16dip; border: none; font: 11pt "Comic Sans MS", Verdana; } popup.balloon em { font-weight: bold; font-style: normal; color: red; } popup.balloon p { background-image: url(corner.png); background-repeat: no-repeat; background-position:100% 100%; }