Code Monkey home page Code Monkey logo

js-ipv4-'s Introduction

IPv4查询小站

demo网址:http://ip.yunduanjianzhan.cn/ image image

技术栈:原生JS

原理:接入API,上传数据至页面

站长目的

(1)用来练习API接口格式规范性 (2)按钮优化: 1.基本样式; 2.使用伪元素 ::before 为按钮制作模糊边缘效果:在按钮的第一个或最后一个子元素上使用伪元素创建一个与按钮相同形状且带有模糊滤镜的效果层,并在鼠标悬停时显示。 3.定义动画效果 glow:通过 background-size: 400% 和 @keyframes glow 实现了按钮背景颜色渐变流动的效果。根据不同的按钮(第一个或最后一个),在鼠标悬停时应用不同的线性渐变背景色。 4.响应式设计:当屏幕宽度小于或等于767px时,.container 类的内边距会减小至10px,以适应移动端屏幕。 (3)实现容器的模糊:利用div:before伪元素创建一个覆盖在原div上的模糊边框效果。通过负值定位和增加尺寸,使伪元素超出实际div的大小,并应用内阴影和模糊滤镜,从而实现一种独特的视觉效果。同时,原div设置了overflow: hidden属性,确保了在呈现特效的同时,不会因伪元素超出部分而影响到div内的主要内容布局

js-ipv4-'s People

Contributors

lmliheng avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.