Try to search your question here, if you can't find : Ask Any Question Now ?

having problem to add background image in html

HomeCategory: stackoverflowhaving problem to add background image in html
Avatarkundan asked 2 months ago

I searched everywhere but can’t find any solution.Background image is not appearing.My code is written below.I have tried everything but failed.can anyone help me please?

@extends('layouts.app')

@section('content')

 <!DOCTYPE html>
   < html>

  < head>

   < title>fullscreen image background

   < /title>
   < style>

       html{ 

           background:url('fee.jpg')no-repeat center center fixed;
           -webkit-background-size:cover;
           -moz-background-size:cover;
           -o-background-size:cover;
           background-size:cover;

       }
       body{
           color: #FFFFFF;

       }

   </style>

  </head>
  <body>
  <p style="text-align: center;">This is a fullscreen background </p>
  </body>
  </html> 

@endsection````
1 Answers
Best Answer
AvatarJyoti answered 2 months ago
Your Answer

12 + 9 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com