Community
Articles Topics Q&A
Learn
Course Programming Dictionary
Tools Library
Development tools Website Source Code PHP Libraries JS special effects Website Materials Extension plug-ins
AI Tools
Leisure
Game Download Game Tutorials
search
English
简体中文 English 繁体中文 日本語 한국어 Melayu Français Deutsch
Login
singup

  • Popular searches:
  • PHP
  • MySQL
  • jquery
  • HTML
  • CSS
  • Whole station
  • Course
  • Article
  • Q&A
  • Download
Found a total of 10000 related content
  • Javascript scroll IntoView only when in viewport

    I made a mockup (note that it uses spacing as it scrolls to a new line of text while the video plays). I'm using scrollIntoView with block: 'nearest'. The problem is, since the entire page has scrolling, it still scrolls the page. I just want it to scroll to the active text line in the linesdiv (it ...

    P粉011684326 2023-09-11 16:33:49 0  1  531

  • Implement vertical scrolling within a page that targets a specific section without moving the entire page

    I've seen this effect on some pages: you scroll down, but the page itself seems to be motionless. Therefore, some elements will fade in or out, appear or disappear. I have a section containing 5 cards. Now I want to create the same effect. When I scroll down to the section, I want to navigate the se...

    P粉946437474 2023-08-15 19:29:46 0  1  444

  • javascript - scroll scrolling issue

    1. https://www.kayak.com.hk/holi... The main effect is the effect of this website. When the scroll bar is slid, the div on the right will scroll down, and the div on the left will also scroll accordingly. But because the div on the left is too long, the top part needs to be hidden, and this effect i...

    过去多啦不再A梦 2017-06-26 10:55:45 0  4  976

  • Please give me some advice on how to modify margintop in JS, causing infinite slide.

    That's what happened:. . . . I made a web page, and the lower half of the web page needs to wait 3 seconds to automatically move up after loading, so I used Jquery's animate method: $("#part2").animate({marginTop: "-=800px" }, 8000); Rango, after using this method, it turned out ...

    天空翱翔 2021-10-28 09:20:51 0  2  917

  • How to remove transition delay in Vue transition?

    I'm using Vue to animate a text box to move up and fade in when the mouse is hovered over a picture. The animation is correct, but there is a slight delay before it starts. I want the text box to smoothly and immediately start fading in and moving up when the image is hovered. The text box properly ...

    P粉757432491 2023-08-17 17:36:49 0  1  526

  • How can I make text turn into a new element (like a divider) when clicked?

    I'm trying to find a way to make certain text on the page turn into separators/new elements when clicked. I don't know how to explain it, but like, imagine an image with a title below it - click the title, and then the image above becomes like a text box/different images/scrollable separator. I'm tr...

    P粉872101673 2024-04-04 11:21:03 0  1  3850

  • css3 - CSS transition effects causing text to blur or jitter?

    Let’s go directly to the gif: Code: Template: {code...} CSS: {code...} Some irrelevant styles have been removed. The current known situation is the transition effect of the small triangle on the right side of the drop-down box in Chrome. This will cause the text to blur and jitter. If you add backfa...

    ringa_lee 2017-05-24 11:35:53 0  2  2466

  • How to achieve cascading effect of elements in HTML?

    I want to make a custom tooltip for this element, but it's contained within a box that doesn't have enough room to display the tooltip, so it just gets cropped (I can actually scroll to display it because overflow is set to auto, but I want it to be visible without scrolling). Is there a way to make...

    P粉486138196 2023-08-28 16:39:50 0  2  584

  • javascript - How to modify css to achieve this effect

    The effect achieved now is: I don’t want the scroll bar below, and the entire red box is displayed on the right side of the pop-up box. How to achieve this? Similar to the following: (This is from PS) The following is my code. What modifications need to be made to achieve the above requirements? Tha...

    学习ing 2017-07-05 11:06:58 0  2  993

  • Trim and calculate mobile number in php form textarea field

    I have a textarea field in my form where I can copy and paste a mobile number. One number per line, like this I can copy and paste hundreds of mobile numbers to submit in this form. I want to trim the field, after copy pasting I only want to keep the 10 digits. Only valid 10-digit numbers should be ...

    P粉883278265 2024-03-31 08:46:11 0  1  464

  • Title rewritten as: How to resize text in all input areas (including email signup, comment box and recipe index page dropdown) in CSS?

    Website: https://olivesfordinner.com/ Looking for CSS code that will make the text larger when entering your email to sign up on the homepage. It's too small. When leaving a comment on a recipe post (eg: https://olivesfordinner.com/toasted-muesli-recipe/), how can I make the text grow larger as the ...

    P粉465675962 2023-09-14 15:17:43 0  2  655

  • My website displays fine on desktop but not on mobile screen

    I use HTML/CSS to design my personal website. But the text doesn't scale to the phone. Please refer to the picture below. Websites look great on desktop, but don’t display well on mobile devices. My Google Drive embed doesn't even fit on the phone screen. My phone displays GGDPDF embedded. What shou...

    P粉827121558 2024-03-30 15:09:41 0  1  551

  • How to split HTML input fields using multiple PHP variables, implemented through line breaks

    So, I'm making a tool for those who want to copy/paste lines of text from Excel into a text box. The goal is to make each row a separate variable. If possible I would like to be able to count the number of rows and convert them into an array. Competitor Part Number: Test For example, the user might ...

    P粉647449444 2023-08-16 13:06:13 0  1  664

  • How to set text color to black in Flutter web app when device display mode is dark?

    I've created a web app in Flutter and it works as expected, but I'm having issues with it on some mobile devices (specifically the default browser on Samsung devices, it works fine on Chrome). On the login page, my page background color is white and the text form field text color is black, but when ...

    P粉216807924 2023-09-11 20:16:42 0  1  598

  • Apply the `margin` attribute to the `fixed` element and `z-index: 1`

    There is a list and a comment field. The comment field is fixed to the bottom of the page. When the list is long, page scrolling is applied. I want the bottom of the list to always be some vertical distance from the top of the comment field. Of course, I could apply the margin-bottom attribute to th...

    P粉986028039 2023-09-17 21:44:03 0  1  693

  • javascript - Mobile terminal paste event, onpaste event is invalid in app, how to detect paste event in app

    Mobile terminal paste event, onpaste event is invalid in the app. How to monitor the paste event in the app, that is, after pasting the verification code, monitor the paste event. If the value of the text box for filling in the verification code is not empty, the next button is available. Click stat...

    黄舟 2017-05-16 13:23:57 0  1  813

  • Ask the experts for advice: How to set PHPStudy parameters to practice using PHP website template documents and view the results in the browser?

    I downloaded a simple php website template from the Internet and want to practice based on this template. After configuring with PHPStudy, I want to see the website effect through the browser. The configuration seems to be unsuccessful. Do you have any experience in this area? What parameters need t...

    Ocean Blue 007 2020-03-22 12:09:49 0  0  989

  • Why when vertically aligning a button element in a div, the element has more vertical space than defined by CSS margins?

    I have a work in progress page on this site and I thought the hardest part of this page would be the script and styling for filtering the results, but actually the filtering part works as expected, it's just a styling/alignment issue that confuses me I'm running into To the part in question is the m...

    P粉080643975 2023-09-14 18:49:41 0  2  614

  • Place interactive markers on images using React

    please help. I have an image like the one below that is displayed on the home page (a larger image). Note that the "FORGE" house has a white and blue marker with a black arrow in the middle. The same goes for "rental" homes. Each of these markers will act as an interactive button...

    P粉896751037 2023-09-08 21:25:41 0  1  855

  • Ways to fix issue 2003 (HY000): Unable to connect to MySQL server 'db_mysql:3306' (111)

    I recently tried to containerize my FastAPIPython server (also for replication/doubling purposes). Before, I had just a MySQL server in a Docker container and everything was fine, but when I also made my web server a service, it couldn't connect to the MySQL server, so now the application doesn't wo...

    P粉178132828 2023-09-05 11:18:47 0  1  900

Public welfare online PHP training,Help PHP learners grow quickly!

About us Disclaimer Sitemap

© php.cn All rights reserved