This application provides a method, device, and computer-readable storage medium for
processing page elements. The method includes: obtaining an operation event for a page element; calculating attribute parameters generated by
processing the page element based on the operation coordinates corresponding to the operation event; performing a Cascading
Style Sheet (CSS) transformation on the attribute parameters based on the
event type of the operation event to obtain transformed attribute parameters; and performing a transformation on the page element based on the transformed attribute parameters.