How to write a background-size without being overwritten by the abbreviations of the following background?

div{background-size: 50% auto}
div.a{background: url(../images/a.png) no-repeat left top}
div.b{background: url(../images/b.png) no-repeat left top}

you want this background-size to be written only once, and the following one is abbreviated. How do you write it?
you"d better not! important

Css
Mar.28,2021

div { background: transparent no-repeat left top; background-size: 50% auto; }
div.a { background-image: url(../images/a.png); }
div.b { background-image: url(../images/b.png); }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34fc9-2b4a5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34fc9-2b4a5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?