0

Find the mistake

where is the mistake in this code ?? div { background-color: red ; padding: auto ; transform:translate(10px, 100px); } i want to transform it .. and it not move !

14th Feb 2017, 7:40 PM
Mohammed Tarek
Mohammed Tarek - avatar
3 odpowiedzi
+ 1
@moksh thank you very much !!
14th Feb 2017, 9:47 PM
Mohammed Tarek
Mohammed Tarek - avatar
+ 1
You could add -o-transform property also, to cover more browsers again ;) ( and -ms- prefix must take a dash too at start: there's a typo mystake in previous answer ^^ )
14th Feb 2017, 11:01 PM
visph
visph - avatar