Question:What will be the output of the following code?
<style>
.foo {
    width:100px;
    height:50px;
    border-width:3px;
    -webkit-border-image: 
        -webkit-gradient(linear, 0 0, 0 100%, from(black), to(red)) 1 100%;
    -webkit-border-image: 
        -webkit-linear-gradient(black, red) 1 100%;
    -o-border-image:
             -o-linear-gradient(black, red)) 1 100%;
    -moz-border-image:
           -moz-linear-gradient(black, red) 1 100%;    

}
</style>

<div  class="foo">Lorem</div>
 

A The text "Lorem" will be colored black-red. 

B The div element will be colored black-red. 

C The border of div element will be colored black-red. 

D None 

+ Answer
+ Report
Total Preview: 1080

Copyright © 2025. Powered by Intellect Software Ltd