How can we give background urls in css I mean in css background-image: url("../img/bg-pattern.png"); how this will work
@ajaicnair Жыл бұрын
my image path is resource/themes/tc/assets/img and css path is resource/themes/tc/css/
@Shakzee Жыл бұрын
#myElement { background-image: url(attr(data-bg-image url)); background-size: cover; /* or whatever suits your design */ background-position: center; /* or as per your design needs */ /* other styling as needed */ }
@ajaicnair Жыл бұрын
Also what about fonts
@ajaicnair Жыл бұрын
attr is not working : and in css body.log_bg:before { background-image: var(--bg-image); background-repeat: no-repeat; background-position: right 10% top 0; } worked
@-Exploit-5 ай бұрын
why is it always when an indian person explains "programming" its running on a windows machine. i cannot comprehend this. when i wasnt able to afford a mac in the past i installed ubuntu and worked from that. windows is a terrible dev environment. its so arkaic. also when you indians make videos please dont go to the very beginning and explain node, how to install it, etc etc. how the world started from the very beginning, etc etc. if i wanted to know that i would go to another video. im here for only vite, now i have to fast forward until i find that information. if someone doesnt know something tell them to go learn it, its youtube, its all there. now we have chatgps life is even more easier.