Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Add linear-gradient & border-radius simultaneously to border

			 /* If there is NO content inside the container */
             borderRadius: '10px',
             border:'double 5px transparent',
             backgroundImage: 'linear-gradient(white, white) ,linear-gradient(to left bottom, #5232d2, #006cf4, #0093fb, #00b4f3, #00d0e6, #35d7e4, #50dee2, #66e5e0, #65dce4, #6bd2e5, #74c7e2, #7fbddc)',
             backgroundOrigin: 'border-box',
             backgroundClip: 'content-box, border-box'
             
             /* If there IS content inside the container */
             borderRadius: '10px',
             border:'double 5px transparent',
             backgroundImage: 'linear-gradient(white, white) ,linear-gradient(to left bottom, #5232d2, #006cf4, #0093fb, #00b4f3, #00d0e6, #35d7e4, #50dee2, #66e5e0, #65dce4, #6bd2e5, #74c7e2, #7fbddc)',
             backgroundOrigin: 'border-box',
             backgroundClip: 'padding-box, border-box'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Add #simultaneously #border
ADD COMMENT
Topic
Name
6+2 =