02-19-2019
Cheers,
When I get finished with this "major" UserCP renovation project, if I have time, we can work on optimizing some JS and CSS to shave a few ms off the load time. Since I'm the only coder developing for the site; I have to prioritize tasks and projects.
Thanks again for your idea about optimizing JS and CSS, Akshay!
Great to see you here again. Hope you will be active and be a part of the team again!
This User Gave Thanks to Neo For This Post:
4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a way that I can use sed to remove lines with css comments like this?
/* comment */ (9 Replies)
Discussion started by: gravesit
9 Replies
2. Web Development
<html>
<head>
<style>
div.box {width: 300px; height: 200px; padding: 30px;
font: 46 pt times new roman;}
</style>
</head>
<body>
<div class="box" style=" filter":
progid:DXImagetransform.Microsoft.Alpha
(Opacity=100,
FinishOpacity=0, Style=1, StartX=0, FinishX=0,... (0 Replies)
Discussion started by: N-Training
0 Replies
3. Web Development
I am having some problems. I have been able to learn HTML, but when I try and encode CSS, nothing happens, what is the major issue here.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>MY CSS</title>
<style... (7 Replies)
Discussion started by: N-Training
7 Replies
4. Web Development
I have been reading up on CSS frameworks, to see if it could be useful for an intranet that I am helping to build, but the true purpose does not become clear to me. What circumstances would the deployment of a CSS framework be useful in? What does a CSS framework do that a CMS template cannot do? (1 Reply)
Discussion started by: figaro
1 Replies
LEARN ABOUT DEBIAN
css::dom::rule::media
CSS::DOM::Rule::Media(3pm) User Contributed Perl Documentation CSS::DOM::Rule::Media(3pm)
NAME
CSS::DOM::Rule::Media - CSS @media rule class for CSS::DOM
VERSION
Version 0.14
SYNOPSIS
use CSS::DOM;
my $media_rule = CSS::DOM->parse(
'@media print { body { background: none } }'
)->cssRules->[0];
# OR:
use CSS::DOM::Rule::Media;
my $media_rule = new CSS::DOM::Rule::Media $parent;
push @{$media_rule->media}, 'print';
$media_rule->insertRule('body { background: none }')
DESCRIPTION
This module implements CSS @media rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSMediaRule DOM interface.
METHODS
media
Returns the MediaList associated with the @media rule (or a plain list in list context). This defaults to an empty list. You can pass a
comma-delimited string to the MediaList's "mediaText" method to set it.
cssRules
In scalar context, this returns a CSS::DOM::RuleList object (simply a blessed array reference) of CSS::DOM::Rule objects. In list
context it returns a list.
insertRule ( $css_code, $index )
Parses the rule contained in the $css_code, inserting it the @media rule's list of subrules at the given $index.
deleteRule ( $index )
Deletes the rule at the given $index.
SEE ALSO
CSS::DOM
CSS::DOM::Rule
CSS::DOM::MediaList
perl v5.10.1 2010-12-10 CSS::DOM::Rule::Media(3pm)