Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and equipment for generating combined style file based on multiple style files

A style file and equipment technology, applied in the direction of editing/combining graphics or text, instruments, computing, etc., can solve the problems of reducing front-end performance, high maintenance cost, bloat, etc., and achieve the effect of improving maintainability and development efficiency.

Active Publication Date: 2015-04-29
ADVANCED NEW TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With more and more style changes, this picture becomes more and more bloated, and there are more and more redundant background pictures. The larger picture size not only wastes user bandwidth, reduces front-end performance, but also increases maintenance costs. bigger

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and equipment for generating combined style file based on multiple style files
  • Method and equipment for generating combined style file based on multiple style files
  • Method and equipment for generating combined style file based on multiple style files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The main idea of ​​the present application is that, in order to automatically merge the background images that need to be merged, multiple CSS style files containing these background images are first parsed, and these background images are extracted therefrom. These background images are then arranged close together to be automatically merged to form one large merged image. Based on the width and length of these background pictures, position information of the background pictures in the composite picture is determined. In this way, there is no need to manually calculate the background image in the merged image, and there is no need to maintain the bloated background image to merge the large image, which improves the development efficiency and the maintainability of the code.

[0017] It should be understood that in this application document, CSS, CSS file, CSS style file, and style file all refer to the same thing, that is, a cascading style sheet for web page style des...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and equipment for generating a combined style file based on multiple style files. The method comprises the following steps: acquiring a transition information set based on the multiple style files; analyzing the transition information set to extract a plurality of background pictures to be combined, wherein the to-be-combined background pictures correspond to a plurality of elements in the style files; automatically combining the background pictures to be combined to form a combined picture; based on the combined picture, determining the position information of each of the background pictures in the combined picture; generating the combined style file based on the position information and the transition information set. Through the method provided by the invention, the problems of backward manual combination of the background pictures of the style file and determination of the position information in the prior art are solved, and the automatic combination of the style files and the automatic determination of the position information are achieved.

Description

technical field [0001] The present application relates to the technical field of computer web pages, in particular to a method and device for generating a combined style file based on multiple style files. Background technique [0002] In the field of modern web design, cascading style sheets are often used. Cascading Style Sheet (Cascading Style Sheet) is referred to as "CSS", which is used for web page style design. For example, if you want the link word to be blue when it is not clicked, and the word becomes red and underlined when the mouse is moved up, this is a style. By setting up a style sheet, the display attributes of each mark in HTML can be uniformly controlled. Cascading style sheets can give people more effective control over the appearance of web pages. Using cascading style sheets, you can extend the ability to precisely specify the position and appearance of web page elements, and create special effects. In the CSS style sheet, you can use CSS Sprite (a w...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06T11/60
Inventor 盛柳钦
Owner ADVANCED NEW TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More