css+js实现图文卡片鼠标悬停翻转效果代码
代码语言:html
所属分类:悬停
代码描述:css+js实现图文卡片鼠标悬停翻转效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.7.0.css"> <style> @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); body { background-color: #303030; font-family: "Poppins", sans-serif; } p { font-weight: 300; color: #353131; text-align: justify; padding-bottom: 2em; } .container { display: flex; flex-direction: row; gap: 1rem; justify-content: center; max-width: 1000px; position: relative; align-content: center; padding: 2rem; } .container_text { display: flex; flex-direction: column; align-content: center; justify-content: start; margin: 2em 0; } h2 { margin: 0.25em 0; padding: 0; line-height: 120%; font-size: 1.95em; } h3 { font-size: 16px; font-style: italic; font-weight: 400; width: 50%; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0