search

Home  >  Q&A  >  body text

HTML5 navigation bar logo moves to the right. Newbies ask questions!

MB275%%_4DQZ1(4K)6N7ZBE.png[EMD]KBC0KY`[V1%KSD4Z{O.jpg

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>首页</title>

<style>

*{ margin:0; padding:0; list-style:none;}

img{ border:0;}

.header{ width:100%; background:#11192c;}

.logo a img{float: left;}

.nav{ width:1000px; margin:0 auto; overflow:hidden;}

.nav ul{float: right;}

.nav ul li{ height:40px; line-height:40px; float: left; padding:10px 10px; margin:0px 5px;position:relative;}

.nav ul li a{ color:#8f8f8f; font-family:'Microsoft Yahei'; font-size:17px; text-decoration:none;}

.nav ul li a:hover{ color:#ffffff; text-decoration:none;}

.nav ul li span{ display:block; position:absolute; width:0px; height:0px; background:#ffffff; top:58px; left:50%;}

</style>

</head>

<body>

<!-- 代码begin -->

<div class="header">

<div class="logo">

<a href="index.html">

<img src="images/logo.png" alt=""></a>         

</div>

<div class="nav">

<ul>

<li><a href='#'>首页</a><span></span></li>

    <li><a href='#'>首页</a><span></span></li>

    <li><a href='#'>首页</a><span></span></li>

    <li><a href='#'>首页</a><span></span></li>

    <li><a href='#'>首页</a><span></span></li>

    <li><a href='#'>首页</a><span></span></li>

</ul>

</div>

</div>

<script src="js/jquery.min.js"></script>

<script>

$(function(){

$('.nav li').hover(function(){

$('span',this).stop().css('height','2px');

$('span',this).animate({

left:'0',

width:'100%',

right:'0'

},200);

},function(){

$('span',this).stop().animate({

left:'50%',

width:'0'

},200);

});

});

</script>

<!-- 代码end -->

</body>

</html>

古今公子?古今公子?1201 days ago3020

reply all(2)I'll reply

  • 大华导师

    大华导师2021-08-23 02:28:39

    『CCTV News』Part-time side jobs that can be done online_Details Q: 8470385 In today’s society, there are many people who are willing to work at home and don’t like the 2 o’clock job from 9 to 5. Many people even have the influence of the social environment. Many new mothers, even those who are pregnant or have given birth, choose to stay at home in order to take care of their families and children. However, there are also many jobs at home where you can take care of both and earn a lot of money. The salary of online part-time job is lower than that of full-time job. Online part-time job is such a great development potential and suitable working method. Online part-time job provides people with a good part-time environment and a well-developed information network platform. They can freely choose their rest time and are not restricted by location. Limitations, perfect solution to work and family problems. Of course, the first thing to consider is how to find a part-time online job that satisfies you. Part-time websites are a relatively high and comprehensive way to reach the public. Finding part-time jobs through part-time websites is everyone’s first choice. There are all kinds of part-time jobs. A casual search on the Internet will bring up a large number of related links. This is the easiest for everyone, but how to find a satisfactory part-time job on these various websites requires some thought. . First of all, based on your actual situation, you can check the part-time job that is suitable for you on the Juxiangyou website. If you are unemployed at home and do not have a stable income from a full-time job, then you can choose some investment and financial products for long-term investment. , online financial management, such as Zhuowang.com, because this kind of operation is simple, quick to get started, stable investment, and low risk. If you want to obtain a stable income from this type of product, you still need to pay attention to relevant information at all times, because the more you know about the product, the more income you can accumulate. Mothers at home can choose new product promotion, part-time research jobs, or online tasks. The requirements for these tasks are relatively low. There will be a certain amount of cash income for completing the tasks, and the cash income is tiring, so you can use it according to your actual time. To choose to complete, because mothers may have different free time periods, it is more appropriate to accumulate income based on the amount of completion. There are also part-time online typists, which are also good options for part-time work at home. In fact, any job is not that easy. The most important thing is persistence. But choosing a good online part-time job is half the success. The rest is to carry out the work through your own efforts, complete the tasks, continue to accumulate, obtain benefits, and complete the job. If a good person does it in one month, the income can be compared with the salary of a full-time job. But for novices, if they can complete the amount every month and reach the funds they want, it is not bad. There are many opportunities to make money. You can Search carefully and participate seriously.

    reply
    0
  • 流年

    流年2021-08-08 11:44:09

    Use right directly

    reply
    0
  • Cancelreply