mardi 14 février 2017

transition effect not working

Vote count: 0

I am trying to get button visibility with animated effect using CSS transition effect on hover but the effect not working.

I am unable to find my mistakes, can anybody help me to solve my issue.

My HTML & CSS Code is as under.

.prodiv3
{
        background-color:#d79e37;
        position:relative;
        z-index:999;
}
.product-box a
{
        text-decoration:none;
}
.prodiv3 h2
{
        padding:0px !important;
        margin: 0px !important;
        color: #fff;
        padding-left:15px !important;
}
.prodiv3 p
{
        color: #000000;
        padding-left:15px !important;
}
.link-icon
{
        position:relative; 
        bottom:120px; 
        left:10px;
        visibility:hidden;
        width:60px; 
        height:60px; 
        background:url(../images/link-icon.png) no-repeat center center #ff411c; 
        //display:block; 
        border-radius:100%;
}
.product-box a:hover .link-icon
{
        visibility:visible;
        -moz-transition: all 1s ease-in !important;
        -webkit-transition: all 1s ease-in !important;
        -o-transition: all 1s ease-in !important;
        transition: all 1s ease-in !important;
}
asked 25 secs ago

Let's block ads! (Why?)



transition effect not working

Checking mail id of distribution list

Vote count: 0

I am developing VBA automation which will forward specific mail to given distribution list which have been saved in one specific worksheet and also i have to check all mail id's of distro if it is correct or not. So Please help to develop a code which will check mail id if they correct or not..

asked 31 secs ago

Let's block ads! (Why?)



Checking mail id of distribution list

Python code required

Vote count: 0

I have a text file containing unstructured data which has record locators and passenger names..I want to fetch all record locators with passenger names. If a record doesn't have passenger name don't fetch it in result. Suppose my file has: Record 1 Record 2 Record 3 John Record 4 Smith

So output file should have Record 3 John Record 4 Smith As output

Please post a python code for the same.

asked 33 secs ago

Let's block ads! (Why?)



Python code required

how to get device active user with specific Time-stamp

Vote count: -1

How to get Active User in Android Multi-User Support Devices with Sending specific Time-Stamp?

asked 42 secs ago

Let's block ads! (Why?)



how to get device active user with specific Time-stamp

T-Sql Find the Employee Count as average by the number of months in the year

Vote count: 0

I have table called "Employee"

Employee table has below columns

Id (identity)
EmploymentStartDate (datetime),
EmploymentEndDate (nullable datetime),

My query:

DECLARE @FromYear int = 2010, @ToYear int = 2017;

WITH YEARS AS 
(
    SELECT @FromYear As TheYear
    UNION ALL
    SELECT TheYear + 1
    FROM YEARS
    WHERE TheYear < @ToYear
)

SELECT
    Y.TheYear,
    SUM
    (
        CASE WHEN
            YEAR(EmploymentStartDate) <= Y.TheYear
            AND (EmploymentEndDate IS NULL OR YEAR(EmploymentEndDate) >= Y.TheYear)
        THEN 1
        ELSE 0
        END
    ) WorkingEmployeeCount,
    SUM
    (
        CASE WHEN
            YEAR(EmploymentStartDate) = Y.TheYear
        THEN 1
        ELSE 0
        END
    ) StartedEmployeeCount,
    SUM
    (
        CASE WHEN
            YEAR(EmploymentEndDate) = Y.TheYear
        THEN 1
        ELSE 0
        END
    ) SeperatedEmployeeCount
FROM
    YEARS Y
    CROSS JOIN
    Employees E
GROUP BY
    Y.TheYear

If ı run above query i get below result

TheYear - WorkingEmployeeCount - StartedEmployeeCount - SeperatedEmployeeCount

2010    -  1                   -  1                   -   0
2011    -  2                   -  1                   -   0
2012    -  2                   -  0                   -   0
2013    -  2                   -  0                   -   0
2014    -  2                   -  0                   -   0
2015    -  4                   -  2                   -   1
2016    -  3                   -  0                   -   0
2017    -  6                   -  3                   -   2

Question:

I need to use below formula.First i want to find every year's months count than AVG of EmployeeCount per year.

EmployeeCount / MonthsCountPerYear than get AVG

If i try below query it is not working for me (I can not create a solution)

(AVG(EmployeeCount / (CASE WHEN TheYear = DATE(GETUTCDATE) THAN 2 ELSE 12 END))) AS AvgEmployeeCount

What i want should be as below

TheYear - WorkingEmployeeCount - StartedEmployeeCount -SeperatedEmployeeCount - AvgEmployeeCount

2010    -  1                   -  1                   -   0                      - 1,30
2011    -  2                   -  1                   -   0                      - 1,20
2012    -  2                   -  0                   -   0                      - 1,00
2013    -  2                   -  0                   -   0                      - 3,50
2014    -  2                   -  0                   -   0                      - 5,33
2015    -  4                   -  2                   -   1                      - 7-33
2016    -  3                   -  0                   -   0                      - 9-34
2017    -  6                   -  3                   -   2                      - 1,15

How can i find employee count avg for every year according to months in a year.Any help will be appreciated.Thank you

asked 30 secs ago

Let's block ads! (Why?)



T-Sql Find the Employee Count as average by the number of months in the year

Swagger editor doesn't offer relevant code completion

Vote count: 0

When I use swagger editor (online or local) sometimes it offers code completion of the relevant level and often it starts offering code completion of the root level: definitions, swagger, info, paths, etc. while my cursor is not at the root level, for example when I'm entering properties. There are also no indications that tell that there is something wrong with the document. I cannot see the pattern to find out when this happens, it just happens and it makes the editor very difficult to use as I have to type almost everything.

I wish I could provide more details but for now this problem happens randomly. Does anyone know what can cause this behavior and how to fix it?

asked 45 secs ago

Let's block ads! (Why?)



Swagger editor doesn't offer relevant code completion

Can we deconstruct arbitrary type constructors?

Vote count: 0

In Haskell, or any other programming language supporting pattern matching, can we achieve the following:

Given a type constructor e.g. Left :: a -> Either a b I can extract its argument with

let f (Left x) = [x]

Is there any way to achieve the same thing for any type constructor, something like an operator (*) to lift Left x to Apply (λa.Left a) [x] or BinTree x y to Apply (λa,b.BinTree a b) [x,y], so we could do

let extract x = case *x of Apply _ xs -> xs

asked 33 secs ago

Let's block ads! (Why?)



Can we deconstruct arbitrary type constructors?